/* Canadian Pour modern theme. Loaded last. */
:root{--paper:#fff;--snow:#fff;--ink:#101312;--muted:#505754;--wine:#d0102f;--line:#e4e6e4;--spruce:#0f2f27;--pale-spruce:#f2f4f2;--stage:#f1f2f0;--serif:DM,Arial,sans-serif;--sans:DM,Arial,sans-serif}
html{scroll-padding-top:20px}
body{background:var(--paper);-webkit-font-smoothing:antialiased}
.frame{width:min(1360px,92%)}
body :is(h1,h2,h3),body .brand,body .typographic strong,body footer.foot>span,body .search-results-list a{font-family:var(--sans);font-weight:800;letter-spacing:-.035em;text-wrap:balance}
body h2{font-size:clamp(36px,5vw,68px);line-height:1}
.over,.kicker{text-transform:none;letter-spacing:0;font-size:14px}
.kicker:before{display:none}
body .lede{font-family:var(--sans);font-style:normal;font-size:21px;color:var(--muted)}

/* Header */
header{background:#fffffff0;border:0;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
body .brand{font-size:clamp(22px,2.2vw,28px)}
.brand b{font-weight:800}
.masthead nav a{font-size:15px;font-weight:700}
.masthead [data-language]{display:inline-flex;align-items:center;justify-content:center;background:var(--ink);border-color:var(--ink);color:#fff}
@media(min-width:1081px){
  html{scroll-padding-top:96px}
  header{position:sticky;top:0;z-index:20}
  .masthead nav a{padding-inline:12px;border-radius:99px;white-space:nowrap}
  .masthead nav a:hover{background:var(--stage);text-decoration:none}
}
@media(max-width:1080px){
  .masthead nav{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:6px;overflow-x:auto;scrollbar-width:none;padding-block:7px 2px}
  .masthead nav::-webkit-scrollbar{display:none}
  .masthead nav a{flex:0 0 auto;white-space:nowrap;padding:0 15px;border-radius:99px;background:var(--stage);font-size:13px}
  .masthead nav a[aria-current=page]{background:var(--ink);color:#fff;text-decoration:none}
}

/* Hero: red type panel beside the photograph */
.hero{width:100%;margin:0;border-radius:0;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);background:var(--wine);color:#fff;box-shadow:none}
.hero:after{display:none}
.hero>img{position:static;grid-column:2;grid-row:1;z-index:0;width:100%;height:100%;min-height:100%;object-fit:cover;object-position:62% 50%;filter:brightness(1.18) saturate(1.12)}
.hero .frame{grid-column:1;grid-row:1;width:auto;margin:0;align-self:center;padding:clamp(48px,7vw,120px) clamp(22px,4vw,56px) clamp(48px,7vw,120px) max(4vw,calc((100vw - 1360px)/2))}
.hero .kicker{display:inline-block;color:#fff;background:#00000030;padding:7px 14px;border-radius:99px}
body .hero h1{font-size:clamp(58px,8.4vw,146px);line-height:.9;letter-spacing:-.06em;margin:24px 0}
.hero h1 em{font-style:normal;color:#fff}
.hero p{font-size:clamp(17px,1.6vw,22px);max-width:30ch;color:#fff}
.hero-actions{margin-top:32px}
.hero-actions .action{border-radius:99px;min-height:54px;padding:14px 28px;font-size:16px;font-weight:800}
.hero-actions .action:first-child{background:#fff;color:var(--ink)}
.hero-actions .hero-secondary{background:transparent;color:#fff;border:2px solid #fff}
@media(max-width:760px){
  .hero{grid-template-columns:minmax(0,1fr)}
  .hero>img{grid-column:1;grid-row:1;height:230px;min-height:0}
  .hero .frame{grid-row:2;padding:30px 5% 38px}
}

/* Buttons */
.action,.contact button{border-radius:99px;background:var(--ink);font-weight:800;padding-inline:26px}
.secondary,.more,.filter-reset{border-radius:99px;font-weight:800}

/* Drink of the day */
.pick{width:min(1360px,92%);margin-top:clamp(18px,3vw,40px);background:var(--spruce);border:0;border-radius:28px;padding:clamp(18px,3.4vw,48px);box-shadow:none}
.pick .secondary{background:#c9f26b;border-color:#c9f26b;color:#10240f}
.pick .secondary:hover{background:#d9ff85}
.pick .pic{height:auto;min-height:190px;align-self:center;border-radius:18px}
.pick .pic img{height:190px;background:#fff}
.pick .card .over{color:#c9f26b}
body .pick .card h3{font-size:clamp(22px,2.8vw,42px)}
.pick .typographic span,.pick .typographic .mark{display:none}
.pick .typographic{width:92%;max-height:none;overflow:visible;padding:10px 6px}
body .pick .typographic strong{font-size:clamp(17px,1.7vw,26px);line-height:1.05;overflow-wrap:anywhere}

/* Directory */
.directory{padding:clamp(52px,7vw,104px) 0}
.filters{gap:12px}
body .filters :is(input,select),body .coffee-controls :is(input,select){height:54px;border:2px solid transparent;background-color:var(--stage);border-radius:14px;padding-inline:16px;font-size:16px}
body .filters :is(input,select):focus,body .coffee-controls :is(input,select):focus{border-color:var(--ink)}
.tabs{gap:8px;margin-bottom:22px}
.tabs button{border:0;background:var(--stage);min-height:46px;padding-inline:20px;font-size:14px;font-weight:800;transition:background .15s}
.tabs button:hover{background:#e3e6e2}
.tabs button[aria-pressed=true]{background:var(--ink);color:#fff}
.grid{gap:34px 18px}
.grid .card{background:none;border:0;border-radius:0;padding:0}
.grid .card .pic{height:clamp(250px,26vw,370px);border-radius:22px;background-color:var(--stage)}
.grid .card .pic img{padding:26px;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.grid .card:hover .pic img,.grid .card:focus-visible .pic img{transform:scale(1.08) rotate(-1.5deg)}
.grid .card :is(h3,.meta,.over){margin-inline:4px}
.grid .card .over{font-size:13px;margin-top:15px}
body .grid .card h3{font-size:clamp(19px,1.7vw,24px);line-height:1.12}
.tint-0,.tint-1,.tint-2,.tint-3,.tint-4,.tint-5,.tint-6,.tint-7{--tint:#f1f2f0}
.grid .card .pic:has(.typographic),.details>.pic:has(.typographic),.pic:has(.typographic){background:var(--spruce)}
.pick .pic:has(.typographic){background:#1d4a3d}
body :is(h1,h2,h3,.brand,.typographic strong),body footer.foot>span{font-weight:800!important}
.pic .typographic{background:transparent;border:0;color:#fff}
.pic .typographic .mark{fill:#ff5a6e}
.more{background:var(--ink);border:0;color:#fff;min-height:56px;padding-inline:36px;font-size:15px;margin-top:44px}
@media(max-width:620px){.grid{gap:26px 12px}.grid .card .pic{height:200px}.grid .card .pic img{padding:14px}body .grid .card h3{font-size:18px}}

/* Hall of Fame */
.hall-of-fame{background:var(--ink);border:0;color:#fff;border-radius:28px;padding:clamp(24px,4.5vw,68px)}
.hall-of-fame>p{color:#d5dad7;font-size:18px;margin-bottom:34px}
.award-card{background:#1d2220;border:0;border-radius:18px;color:#fff;padding:22px}
.award-card p{color:#d5dad7}
body .award-card h3{font-size:25px;line-height:1.1}
.award-card h3 a{text-decoration:none}
.award-card h3 a:hover{text-decoration:underline}
.award-card .award-medal{color:#ffd46b}
.award-card .award-medal::before{content:'';display:block;width:42px;height:42px;margin-bottom:18px;border-radius:50%;background:radial-gradient(circle,#ffd46b 0 45%,#8a6416 47% 55%,#ffd46b 57%)}
.hall-of-fame :focus-visible{outline-color:#ffd46b}
@media(min-width:1100px){.award-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Coffee feature */
.coffee-feature{background:#3a1f14;color:#fff;border-radius:28px;box-shadow:none}
.coffee-feature img{max-height:480px;min-height:360px}
.coffee-feature .action{background:#fff;color:var(--ink)}
@media(max-width:530px){.coffee-feature img{height:200px;min-height:0}}
.coffee-hero{background:#3a1f14;border-radius:28px}
body .coffee-hero h1{font-size:clamp(46px,6.4vw,104px)}

/* Cocktails */
.guide{background:var(--pale-spruce);padding-block:clamp(44px,6vw,96px)}
.recipes{gap:14px}
.recipe{border:0;border-radius:22px;background:#ffd9d0;padding:24px;min-height:240px;box-shadow:none}
.recipe:nth-child(5n+2){background:#ffe7a8}
.recipe:nth-child(5n+3){background:#cfeadb}
.recipe:nth-child(5n+4){background:#d6e4ff}
.recipe:nth-child(5n){background:#eadcf8}
.recipe .over,.recipe summary,.recipe a,.recipe[data-style=zero] .over{color:var(--ink)}
.recipe .recipe-source{color:#333a37}
.recipe details{border-color:#10131233}
.recipe-content h4{color:var(--ink)}
body .recipe h3{font-size:27px;line-height:1.05;margin-top:8px}
.recipe:target{box-shadow:0 0 0 3px var(--ink)}
@media(min-width:1180px){.recipes{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Coffee, producers, search */
.roaster-card,.maker,.search-results-list li{background:var(--stage);border:0;border-radius:20px}
.roaster-card,.maker{transition:background .2s}
.roaster-card:hover,.maker:hover{background:#e9ece8;box-shadow:none}
.roaster-link{border-color:#cdd2ce;color:var(--ink)}
body :is(.roaster-card,.maker) h3{line-height:1.08}

/* Drink pages */
.details>.pic{border-radius:28px;background-color:var(--stage)}
body .details h1{font-size:clamp(44px,6vw,92px);line-height:.95}
body .details h2{font-size:24px}
.measures>div{background:var(--stage);border:0;border-radius:16px}

/* Contact */
.contact{padding-block:clamp(52px,7vw,104px)}
.contact form{background:var(--stage);border:0;border-radius:28px;padding:clamp(20px,3.5vw,44px);box-shadow:none}
body .contact :is(input,select,textarea){background-color:#fff;border:2px solid #fff;border-radius:12px;min-height:50px}
body .contact :is(input,select,textarea):focus{border-color:var(--ink)}
.contact button{background:var(--wine);min-height:56px;color:#fff}

/* Footer */
footer.foot{margin-block:0 24px;padding:clamp(28px,4vw,56px);background:var(--ink);color:#fff;border:0;border-radius:28px;display:flex;flex-wrap:wrap;align-items:center}
body footer.foot>span{font-size:clamp(30px,4vw,54px);flex-basis:100%}
footer.foot>a,footer.foot .install-help summary,footer.foot>span a{color:#fff}
footer.foot .install-help p{color:#d5dad7}
footer.foot .share-menu summary{color:var(--ink)}
@media(prefers-reduced-motion:reduce){.grid .card:hover .pic img{transform:none}}

/* Mid-size screens: logo on one line, menu on its own centred row */
.brand{white-space:nowrap}
@media(min-width:1081px) and (max-width:1439px){
  html{scroll-padding-top:136px}
  .masthead{flex-wrap:wrap;gap:6px 12px;padding-block:10px}
  .masthead nav{order:3;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:4px;border-top:1px solid var(--line);padding-top:6px}
}
