:root {
  --cream: #f4efe4;
  --paper: #fffaf0;
  --ink: #172d2a;
  --coral: #f2523d;
  --yellow: #f7bc22;
  --blue: #0a43c6;
  --brown: #47291d;
  --line: rgba(23, 45, 42, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.announcement { min-height: 31px; padding: 6px 4vw; display: flex; align-items: center; justify-content: center; gap: 18px; color: #fff; background: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.announcement .dot { color: var(--yellow); font-size: 7px; }
.site-header { height: 78px; padding: 0 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand-lockup { display:flex; flex-direction:column; align-items:flex-start; line-height:1; }
.brand { font-family: "Figtree", sans-serif; font-size: 29px; font-weight: 900; color: var(--blue); letter-spacing: -.06em; }
.brand-lockup small { margin-top:4px; font-size:7px; font-weight:800; letter-spacing:.13em; color:var(--ink); }
.desktop-nav { display: flex; gap: 30px; font-size: 13px; font-weight: 600; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-5px; height:2px; background: var(--coral); transition:.25s; }
.desktop-nav a:hover::after { right:0; }
.cart-button { justify-self: end; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cart-button span { display: inline-grid; place-items:center; min-width: 25px; height:25px; padding:0 6px; margin-left:7px; color:#fff; background:var(--blue); border-radius:50%; }

.hero { min-height: 690px; display:grid; grid-template-columns: 48% 52%; position:relative; overflow:hidden; border-bottom:1px solid var(--line); }
.hero-copy { padding: 90px 4vw 55px; position:relative; z-index:2; }
.eyebrow { margin:0 0 22px; font-size:11px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; }
.eyebrow.blue { color:var(--blue); }
.eyebrow.cream { color:#ecdcc1; }
.eyebrow.coral-text { color:var(--coral); }
.hero h1, .section h2, .classic h2, .newsletter h2, .story h2 { margin:0; font-family:"Figtree",sans-serif; font-weight:900; line-height:.87; letter-spacing:-.065em; text-transform:uppercase; }
.hero h1 { max-width:720px; font-size:clamp(64px,7.4vw,118px); }
.hero h1 em, .classic h2 em, .story h2 em { color:var(--coral); font-family:Georgia,serif; font-weight:400; text-transform:none; letter-spacing:-.06em; }
.hero-lead { max-width:480px; margin:32px 0; font-size:18px; line-height:1.55; }
.hero-actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.btn { min-height:51px; padding:0 22px; border:1px solid transparent; display:inline-flex; align-items:center; justify-content:center; gap:28px; cursor:pointer; font-weight:800; font-size:13px; text-transform:uppercase; letter-spacing:.03em; transition:transform .2s, box-shadow .2s; }
.btn:hover { transform:translateY(-3px); box-shadow:0 7px 0 rgba(23,45,42,.15); }
.btn-primary { color:#fff; background:var(--blue); }
.text-link { border:0; padding:10px 0; background:none; cursor:pointer; font-weight:700; border-bottom:1px solid var(--ink); }
.hero-proof { margin-top:62px; padding-top:20px; max-width:570px; display:flex; justify-content:space-between; gap:18px; border-top:1px solid var(--line); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.hero-proof span { display:flex; gap:8px; }
.hero-proof b { color:var(--coral); }
.hero-image { background:url("assets/tosto-hero.png") center/cover no-repeat; min-height:690px; }
.hero-sticker { width:132px; height:132px; position:absolute; z-index:3; left:45%; bottom:45px; display:grid; place-content:center; text-align:center; color:var(--ink); background:var(--yellow); border:2px solid var(--ink); border-radius:50%; font-size:11px; line-height:1.25; letter-spacing:.08em; transform:rotate(-8deg); box-shadow:5px 6px 0 var(--ink); }
.hero-sticker b { font-family:"Figtree"; font-size:16px; }

.marquee { padding:16px 0; overflow:hidden; background:var(--coral); color:var(--cream); border-bottom:2px solid var(--ink); white-space:nowrap; }
.marquee div { width:max-content; font-family:"Figtree"; font-size:18px; font-weight:900; letter-spacing:.08em; animation:marquee 22s linear infinite; }
.marquee i { padding:0 34px; color:var(--yellow); font-style:normal; }
@keyframes marquee { to { transform:translateX(-50%); } }
.proof-strip { display:grid; grid-template-columns:repeat(3,1fr); background:var(--paper); border-bottom:1px solid var(--ink); }
.proof-strip article { min-height:145px; padding:30px 4vw; display:grid; grid-template-columns:auto 1fr; gap:18px; border-right:1px solid var(--ink); }
.proof-strip article:last-child { border-right:0; }
.proof-strip span { width:31px; height:31px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--coral); font-size:9px; font-weight:900; }
.proof-strip b { font-family:"Figtree"; font-size:16px; text-transform:uppercase; }
.proof-strip p { margin:7px 0 0; font-size:13px; line-height:1.45; }

.section { padding:110px 4vw; }
.section-heading { margin-bottom:46px; display:grid; grid-template-columns:1.35fr .65fr; gap:8vw; align-items:end; }
.section-heading h2 { font-size:clamp(54px,6vw,88px); }
.section-heading > p { max-width:420px; font-size:17px; line-height:1.6; }
.filters { display:flex; gap:8px; margin-bottom:26px; }
.filter { padding:10px 18px; border:1px solid var(--ink); border-radius:40px; background:transparent; cursor:pointer; font-size:12px; font-weight:700; }
.filter.active, .filter:hover { color:#fff; background:var(--ink); }
.product-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.product-card { border:1px solid var(--ink); background:var(--paper); transition:opacity .25s, transform .25s; }
.product-card.hidden { display:none; }
.product-card:hover { transform:translateY(-6px); }
.product-visual { min-height:480px; padding:34px; position:relative; display:grid; place-items:center; overflow:hidden; border-bottom:1px solid var(--ink); }
.product-card.coral .product-visual { background:var(--coral); }
.product-card.yellow .product-visual { background:var(--yellow); }
.product-card.cobalt .product-visual { background:var(--blue); }
.tag { position:absolute; top:18px; left:18px; padding:7px 10px; border:1px solid var(--ink); background:var(--cream); font-size:9px; font-weight:900; letter-spacing:.12em; }
.tag.dark { color:#fff; background:var(--ink); }
.tag.light { color:var(--blue); background:#fff; border-color:#fff; }
.coffee-bag { width:56%; min-width:190px; aspect-ratio:.71; position:relative; display:grid; place-items:center; filter:drop-shadow(10px 18px 0 rgba(0,0,0,.13)); clip-path:polygon(5% 0,95% 0,100% 7%,96% 100%,4% 100%,0 7%); }
.coffee-bag::before { content:""; position:absolute; top:17px; left:4%; right:4%; height:6px; border-top:2px solid rgba(30,30,30,.45); border-bottom:1px solid rgba(30,30,30,.3); }
.coral-bag { background:#ff5d49; }
.yellow-bag { background:#f7bd22; }
.blue-bag { background:#154ec9; }
.bag-label { width:79%; height:61%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:17px; background:var(--cream); text-align:center; }
.bag-label strong { color:var(--blue); font-family:"Figtree"; font-weight:900; font-size:clamp(29px,3vw,46px); letter-spacing:-.08em; }
.bag-label small { font-weight:800; letter-spacing:.28em; }
.sun { display:block; width:40px; height:40px; background:currentColor; color:var(--coral); }
.sun.full { border-radius:50%; color:var(--yellow); }
.sun.half { height:22px; border-radius:40px 40px 0 0; }
.sun.low { height:22px; border-radius:40px 40px 0 0; color:var(--blue); }
.roast { position:absolute; right:20px; bottom:18px; font-size:10px; letter-spacing:3px; }
.light-text { color:#fff; }
.product-info { padding:24px; display:grid; grid-template-columns:1fr auto; gap:12px 20px; align-items:start; }
.product-info p { margin:0; }
.product-info > div:first-child p { font-size:9px; font-weight:800; letter-spacing:.14em; }
.product-info h3 { margin:3px 0 0; font-family:"Figtree"; font-size:38px; line-height:1; text-transform:uppercase; }
.product-info > strong { font-size:18px; }
.product-info .notes { grid-column:1/-1; font-size:14px; color:rgba(23,45,42,.8); }
.product-meta { grid-column:1/-1; display:flex; justify-content:space-between; padding:13px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); font-size:11px; font-weight:600; text-transform:uppercase; }
.grind-label { grid-column:1/-1; display:grid; gap:7px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.grind-select, .classic-buy select { width:100%; min-height:43px; padding:0 36px 0 12px; border:1px solid var(--ink); border-radius:0; color:var(--ink); background:var(--paper); cursor:pointer; }
.grind-select.invalid, .classic-buy select.invalid { border:2px solid var(--coral); }
.product-details { grid-column:1/-1; font-size:11px; line-height:1.5; }
.product-details summary { cursor:pointer; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.product-details p { margin-top:9px; }
.add-to-cart { grid-column:1/-1; min-height:48px; border:0; display:flex; justify-content:space-between; align-items:center; color:#fff; background:var(--ink); padding:0 17px; cursor:pointer; font-size:12px; font-weight:800; text-transform:uppercase; }
.add-to-cart:hover { background:var(--blue); }
.add-to-cart span { font-size:22px; font-weight:400; }

.quiz { padding-top:35px; }
.quiz-card { min-height:560px; display:grid; grid-template-columns:.9fr 1.1fr; background:var(--yellow); border:2px solid var(--ink); box-shadow:12px 12px 0 var(--ink); }
.quiz-copy { padding:70px; border-right:2px solid var(--ink); }
.quiz-copy h2 { font-size:clamp(58px,6vw,90px); }
.quiz-copy > p:last-child { margin-top:45px; max-width:250px; font-size:12px; line-height:1.5; }
.quiz-options { display:flex; flex-direction:column; justify-content:center; padding:35px 60px; }
.quiz-options button { min-height:110px; display:grid; grid-template-columns:50px 1fr auto; gap:20px; align-items:center; border:0; border-bottom:1px solid var(--ink); background:none; cursor:pointer; color:var(--ink); text-align:left; }
.quiz-options button:first-child { border-top:1px solid var(--ink); }
.quiz-options button span { width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--ink); border-radius:50%; font-size:11px; }
.quiz-options button b { font-size:20px; }
.quiz-options button i { font-style:normal; font-size:25px; transition:transform .2s; }
.quiz-options button:hover i { transform:translateX(8px); }
.quiz-result { padding:50px 70px; align-self:center; }
.quiz-result > p { font-size:13px; font-weight:800; letter-spacing:.12em; }
.quiz-result h3 { margin:10px 0; color:var(--blue); font-family:"Figtree"; font-size:90px; line-height:.9; text-transform:uppercase; }
.quiz-result .quiz-back { border:0; padding:0; margin-bottom:50px; background:none; cursor:pointer; text-decoration:underline; }

.section-heading.compact { grid-template-columns:1fr; }
.step-grid { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--ink); }
.step-grid article { min-height:370px; padding:28px; border-right:1px solid var(--ink); position:relative; }
.step-grid article:last-child { border:0; }
.step-grid article > span { font-size:11px; font-weight:800; }
.step-icon { height:150px; display:grid; place-items:center; color:var(--coral); font-size:92px; }
.step-grid h3 { margin:15px 0 8px; font-family:"Figtree"; font-size:25px; text-transform:uppercase; }
.step-grid p { max-width:340px; margin:0; line-height:1.55; }

.classic { min-height:720px; display:grid; grid-template-columns:.85fr 1.15fr; background:var(--brown); color:var(--cream); }
.classic-copy { padding:110px 8vw 90px 4vw; }
.classic h2 { font-size:clamp(56px,6vw,90px); }
.classic h2 em { color:var(--yellow); }
.classic-copy > p:not(.eyebrow) { max-width:530px; margin:35px 0; font-size:17px; line-height:1.65; color:#e9d9c8; }
.btn-cream { color:var(--brown); background:var(--cream); }
.classic-promise { margin-top:38px; padding-top:24px; border-top:1px solid rgba(255,255,255,.25); line-height:2; font-size:13px; }
.classic-promise span { color:var(--yellow); margin-right:8px; }
.classic-products { min-height:720px; padding:45px; display:flex; flex-direction:column; justify-content:center; gap:12px; background:#dac7aa; color:var(--brown); }
.classic-item { padding:22px; display:grid; grid-template-columns:1fr minmax(230px,.8fr); gap:24px; align-items:center; background:rgba(255,250,240,.68); border:1px solid var(--brown); transition:transform .2s, background .2s; }
.classic-item:hover { transform:translateX(-5px); background:var(--paper); }
.classic-item small { font-size:9px; font-weight:900; letter-spacing:.12em; }
.classic-item h3 { margin:4px 0; font-family:Georgia,serif; font-size:25px; }
.classic-item p { margin:0; font-size:12px; }
.classic-item.gift { background:var(--yellow); }
.classic-buy { display:grid; grid-template-columns:1fr 50px; gap:8px; align-items:center; }
.classic-buy strong { grid-column:1/-1; justify-self:end; }
.classic-buy button { min-height:43px; border:0; color:#fff; background:var(--brown); cursor:pointer; font-size:25px; }
.classic-note { margin:5px 0 0; font-size:9px; line-height:1.5; color:rgba(71,41,29,.75); }

.story-grid { display:grid; grid-template-columns:1fr 1fr; gap:10vw; }
.story h2 { font-size:clamp(58px,6vw,92px); }
.story h2 em { color:var(--blue); }
.story-grid > div { padding-top:10px; }
.story-grid p { font-size:17px; line-height:1.65; }
.story-grid .story-lead { font-size:23px; font-weight:600; line-height:1.45; }
.signature { margin-top:45px; padding-top:24px; border-top:1px solid var(--ink); font-family:Georgia,serif; font-style:italic; font-size:19px; display:flex; justify-content:space-between; gap:20px; }
.signature span { font-family:"DM Sans"; font-style:normal; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }

.newsletter { padding:78px 4vw; display:grid; grid-template-columns:1fr 1fr; gap:8vw; align-items:end; color:#fff; background:var(--blue); }
.newsletter h2 { font-size:clamp(45px,5vw,75px); }
.newsletter form { display:grid; gap:12px; }
.newsletter-row { display:flex; border-bottom:2px solid #fff; }
.newsletter input { flex:1; min-width:0; padding:17px 0; border:0; color:#fff; background:transparent; outline:0; font-size:19px; }
.newsletter input::placeholder { color:rgba(255,255,255,.7); }
.newsletter button { border:0; color:#fff; background:transparent; cursor:pointer; font-weight:800; }
.consent { display:flex; align-items:flex-start; gap:9px; font-size:10px; line-height:1.45; color:rgba(255,255,255,.82); }
.consent input { flex:0 0 auto; width:15px; margin-top:1px; }
#newsletter-message { grid-column:2; margin:0; font-size:13px; }

footer { padding:70px 4vw 25px; display:grid; grid-template-columns:1.7fr repeat(4,1fr); gap:38px; background:var(--ink); color:#fff; }
.footer-brand { color:var(--yellow); font-family:"Figtree"; font-size:60px; font-weight:900; letter-spacing:-.08em; }
footer > div:not(.footer-brand) { display:flex; flex-direction:column; gap:11px; font-size:13px; }
footer b { margin-bottom:8px; color:#8fb0a8; font-size:10px; letter-spacing:.16em; }
footer a:hover { color:var(--yellow); }
.footer-note { grid-column:1/-1; margin:45px 0 0; padding-top:20px; border-top:1px solid rgba(255,255,255,.2); color:#9db2ad; font-size:10px; }

.cart-overlay { position:fixed; inset:0; z-index:39; background:rgba(23,45,42,.55); backdrop-filter:blur(3px); }
.cart-drawer { width:min(470px,100%); height:100dvh; position:fixed; right:0; top:0; z-index:40; display:flex; flex-direction:column; background:var(--cream); transform:translateX(105%); transition:transform .35s ease; box-shadow:-15px 0 40px rgba(0,0,0,.2); }
.cart-drawer.open { transform:none; }
.cart-header { padding:24px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--ink); }
.cart-header h2 { margin:0; font-family:"Figtree"; text-transform:uppercase; }
.cart-header button { border:0; background:none; cursor:pointer; font-size:34px; }
.cart-items { overflow:auto; }
.cart-row { padding:20px 24px; display:grid; grid-template-columns:68px 1fr auto; gap:16px; border-bottom:1px solid var(--line); align-items:center; }
.cart-thumb { height:82px; display:grid; place-items:center; color:#fff; background:var(--coral); font-family:"Figtree"; font-weight:900; }
.cart-thumb.dritto { color:var(--ink); background:var(--yellow); }
.cart-thumb.piano { background:var(--blue); }
.cart-row h3 { margin:0 0 4px; text-transform:uppercase; }
.cart-row p { margin:0 0 9px; font-size:12px; }
.qty { display:flex; align-items:center; gap:10px; }
.qty button { width:25px; height:25px; border:1px solid var(--ink); background:transparent; cursor:pointer; }
.remove { border:0; padding:0; color:#865c50; background:none; cursor:pointer; font-size:11px; text-decoration:underline; }
.cart-empty { margin:auto; padding:40px; text-align:center; }
.cart-empty > span { font-size:50px; }
.cart-empty h3 { font-family:"Figtree"; font-size:30px; text-transform:uppercase; }
.cart-footer { margin-top:auto; padding:24px; border-top:1px solid var(--ink); background:var(--paper); }
.cart-footer > div { display:flex; justify-content:space-between; font-size:20px; }
.cart-footer p { font-size:11px; }
.shipping-progress { display:grid !important; gap:8px; margin-bottom:17px; font-size:10px !important; font-weight:700; text-transform:uppercase; }
.shipping-progress > div { height:6px; overflow:hidden; background:#d9d2c5; }
.shipping-progress i { display:block; width:0; height:100%; background:var(--yellow); transition:width .3s; }
.cart-total-row { display:flex; justify-content:space-between; font-size:20px; }
.checkout-button { width:100%; min-height:55px; border:0; color:#fff; background:var(--coral); cursor:pointer; font-weight:900; text-transform:uppercase; }
.toast { position:fixed; left:50%; bottom:25px; z-index:50; padding:14px 20px; color:#fff; background:var(--ink); transform:translate(-50%,130px); transition:.3s; box-shadow:4px 5px 0 var(--yellow); font-size:13px; font-weight:800; }
.toast.show { transform:translate(-50%,0); }

@media (max-width: 900px) {
  .site-header { grid-template-columns:1fr auto; }
  .desktop-nav { display:none; }
  .hero { grid-template-columns:1fr; }
  .hero-copy { padding-top:65px; }
  .hero-image { min-height:520px; background-position:58% center; }
  .hero-sticker { left:auto; right:25px; bottom:465px; }
  .section-heading, .story-grid, .newsletter { grid-template-columns:1fr; }
  .product-grid { grid-template-columns:1fr 1fr; }
  .product-card:last-child { grid-column:1/-1; width:50%; }
  .quiz-card { grid-template-columns:1fr; }
  .quiz-copy { border-right:0; border-bottom:2px solid var(--ink); }
  .classic { grid-template-columns:1fr; }
  .classic-products { min-height:auto; }
  footer { grid-template-columns:2fr 1fr 1fr; }
  .footer-legal { grid-column:2; }
}

@media (max-width: 620px) {
  .announcement { gap:7px; font-size:8px; }
  .site-header { height:65px; }
  .brand { font-size:25px; }
  .cart-button { font-size:11px; }
  .hero { min-height:auto; }
  .hero-copy { padding:52px 20px 42px; }
  .hero h1 { font-size:62px; }
  .hero-lead { font-size:16px; }
  .hero-proof { display:grid; gap:10px; margin-top:40px; }
  .proof-strip { grid-template-columns:1fr; }
  .proof-strip article { min-height:auto; border-right:0; border-bottom:1px solid var(--ink); }
  .hero-image { min-height:360px; }
  .hero-sticker { width:95px; height:95px; bottom:325px; font-size:8px; }
  .hero-sticker b { font-size:12px; }
  .section { padding:75px 20px; }
  .section-heading { gap:25px; }
  .section-heading h2 { font-size:49px; }
  .filters { overflow-x:auto; }
  .product-grid { grid-template-columns:1fr; }
  .product-card:last-child { grid-column:auto; width:auto; }
  .product-visual { min-height:410px; }
  .quiz { padding-top:10px; }
  .quiz-card { box-shadow:7px 8px 0 var(--ink); }
  .quiz-copy, .quiz-options, .quiz-result { padding:42px 25px; }
  .quiz-copy h2 { font-size:53px; }
  .quiz-options button b { font-size:16px; }
  .quiz-result h3 { font-size:63px; }
  .step-grid { grid-template-columns:1fr; }
  .step-grid article { min-height:300px; border-right:0; border-bottom:1px solid var(--ink); }
  .classic-copy { padding:80px 20px; }
  .classic-products { min-height:auto; padding:20px; }
  .classic-item { grid-template-columns:1fr; gap:16px; }
  .classic-buy strong { justify-self:start; }
  .newsletter { padding:65px 20px; gap:40px; }
  #newsletter-message { grid-column:1; }
  footer { padding:55px 20px 25px; grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
  .footer-legal { grid-column:auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }
