:root {
  --green: #3e4e42;
  --green-dark: #26382e;
  --cream: #f5ecdd;
  --paper: #fffdf8;
  --ink: #202720;
  --muted: #73796f;
  --orange: #bd7148;
  --line: #e5dfd3;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); }
.hero { position: relative; min-height: 440px; overflow: hidden; background: var(--green); color: var(--cream); }
.hero-inner { position: relative; z-index: 1; width: min(100% - 40px, 1160px); margin: 0 auto; padding: 35px 0 58px; }
.hero-logo { display: block; width: 180px; height: 72px; overflow: hidden; border-radius: 2px; background: #fffde9; margin-bottom: 31px; }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.eyebrow { margin: 0 0 10px; color: #d7b18f; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 7.2vw, 78px); line-height: .99; font-weight: 600; letter-spacing: -.04em; }
h1 em { color: #e8c19f; font-weight: 600; }
.intro { max-width: 460px; margin: 20px 0 20px; color: rgba(255,253,248,.78); font-size: 15px; line-height: 1.65; }
.hero-meta { display: flex; align-items: center; gap: 9px; color: rgba(255,253,248,.74); font-size: 12px; letter-spacing: .04em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #e1b17c; box-shadow: 0 0 0 4px rgba(225,177,124,.13); }
.meta-divider { color: #be9474; }
.hero-decoration { position: absolute; right: max(3vw, calc((100vw - 1180px)/2)); bottom: -144px; width: 425px; height: 425px; border: 1px solid rgba(245,236,221,.13); border-radius: 50%; display: grid; place-items: center; color: rgba(245,236,221,.065); font-family: var(--serif); font-size: 380px; line-height: 1; }
.main-content { width: min(100% - 40px, 1160px); margin: -27px auto 0; position: relative; z-index: 2; }
.search-section { padding: 25px 30px 20px; background: var(--paper); border: 1px solid rgba(62,78,66,.08); border-radius: 9px; box-shadow: 0 12px 35px rgba(46,49,40,.08); }
.search-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.search-label-row label { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.result-count { color: var(--muted); font-size: 12px; }
.search-box { display: flex; align-items: center; min-height: 52px; border: 1px solid #d9d6cc; border-radius: 5px; padding: 0 15px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(62,78,66,.1); }
.search-box svg { width: 20px; height: 20px; fill: none; stroke: #667064; stroke-width: 1.7; flex: 0 0 auto; }
.search-box input { width: 100%; border: 0; outline: 0; padding: 0 12px; color: var(--ink); background: transparent; font: 14px var(--sans); }
.search-box input::placeholder { color: #9a9d95; }
.clear-search { border: 0; padding: 0 2px; color: #6c746c; background: transparent; font: 25px/1 var(--sans); cursor: pointer; }
.alphabet { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 17px; }
.alphabet a { min-width: 29px; padding: 6px 7px; border-radius: 3px; color: #647064; text-align: center; text-decoration: none; font-size: 11px; font-weight: 700; transition: .16s ease; }
.alphabet a:hover, .alphabet a:focus-visible { color: white; background: var(--green); outline: none; }
.alphabet a.disabled { opacity: .3; pointer-events: none; }
.catalogue { padding: 29px 0 6px; }
.letter-section { margin: 0 0 34px; scroll-margin-top: 20px; }
.letter-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 13px; color: var(--green-dark); font-family: var(--serif); font-size: 28px; font-weight: 600; }
.letter-heading::after { content: ""; height: 1px; flex: 1; background: #d8cdbd; }
.cocktail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.cocktail-card { min-width: 0; overflow: hidden; border: 1px solid rgba(62,78,66,.13); border-radius: 7px; background: var(--paper); box-shadow: 0 3px 9px rgba(46,49,40,.035); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 74px; padding: 8px 17px 8px 14px; border-bottom: 1px solid var(--line); }
.card-logo { width: 137px; height: 55px; flex: 0 0 137px; overflow: hidden; background: #fffde9; }
.card-logo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.card-name { margin: 0; flex: 1; text-align: right; font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); line-height: 1.12; font-weight: 600; }
.card-content { padding: 17px 19px 18px; }
.section-label { margin: 0 0 7px; color: #87877c; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.recipe-main { display: grid; grid-template-columns: 102px minmax(0,1fr); gap: 15px; align-items: start; }
.drink-shot { position: relative; width: 102px; height: 136px; overflow: hidden; margin: 0; border: 1px solid #e1ddd4; background: #fff; }
.drink-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.drink-shot::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.ingredients-block { min-width: 0; }
.ingredients { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 19px; row-gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.ingredients li { position: relative; padding-left: 13px; font-size: 12px; line-height: 1.45; }
.ingredients li::before { content: ""; position: absolute; top: .48em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.visual-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 16px 0 18px; }
.visual-details.has-garnish { grid-template-columns: repeat(3,minmax(0,1fr)); }
.visual-detail { min-width: 0; margin: 0; text-align: center; }
.visual-detail img { display: block; width: min(100%,78px); height: 78px; object-fit: contain; margin: 0 auto 4px; border: 1px solid #e3ded5; background: #fff; }
.visual-detail .vector-icon { display: block; width: 78px; height: 78px; max-width: 100%; margin: 0 auto 4px; padding: 6px; border-radius: 4px; background: #f0f1eb; }
.visual-detail .garnish-icon { background: #fff4df; }
.garnish-items { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 5px 3px; }
.garnish-item { width: 43px; min-width: 0; text-align: center; }
.visual-detail .vector-icon.garnish-icon { width: 40px; height: 44px; padding: 3px; margin-bottom: 3px; }
.garnish-item-label { display: block; color: #576355; font-size: 8px; font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.visual-detail figcaption { min-height: 2.5em; color: #576355; font-size: 10px; font-weight: 600; line-height: 1.25; }
.method { margin: 0; color: #454b43; font-size: 12px; line-height: 1.6; }
.pairings { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.pairing-category { margin: 11px 0 5px; color: var(--green-dark); font-family: var(--serif); font-size: 14px; font-weight: 600; }
.pairing-list { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 4px 12px; margin: 0; font-size: 11px; line-height: 1.4; }
.pairing-list dt { color: #414a40; font-weight: 700; }
.pairing-list dd { margin: 0; color: #6d7168; }
.empty-state { padding: 70px 20px 90px; text-align: center; }
.empty-icon { display: inline-grid; width: 39px; height: 39px; place-items: center; border-radius: 50%; color: var(--green); background: #e7e9e2; font-family: var(--serif); font-size: 22px; }
.empty-state h2 { margin: 14px 0 5px; font: 600 25px var(--serif); }
.empty-state p { margin: 0; color: var(--muted); font-size: 14px; }
.page-footer { margin-top: 24px; padding: 35px 20px 24px; border-top: 1px solid #d7ccbb; background: #eee4d5; text-align: center; }
.footer-mark { margin-bottom: 9px; color: var(--green); font-family: var(--serif); font-size: 20px; letter-spacing: .09em; }
.footer-mark a { color: inherit; text-decoration: none; }
.footer-mark span { font: 600 10px var(--sans); letter-spacing: .22em; }
.page-footer p { margin: 0 0 9px; color: #73776e; font-size: 11px; line-height: 1.65; }
.page-footer .powered { margin: 17px 0 0; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.page-footer .bar-site-link { color: var(--green); font-weight: 600; text-underline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .hero { min-height: 410px; }
  .hero-inner { width: min(100% - 32px, 1160px); padding-top: 25px; }
  .hero-logo { width: 150px; height: 61px; margin-bottom: 24px; }
  h1 { font-size: clamp(49px, 13vw, 70px); }
  .hero-decoration { right: -170px; bottom: -115px; width: 340px; height: 340px; font-size: 300px; }
  .main-content { width: min(100% - 28px, 1160px); }
  .search-section { padding: 19px 16px 15px; }
  .search-label-row label { font-size: 18px; }
  .alphabet { gap: 1px; }
  .alphabet a { min-width: 25px; padding: 6px 5px; }
  .cocktail-grid { grid-template-columns: 1fr; gap: 11px; }
  .letter-heading { font-size: 25px; }
  .letter-section { margin-bottom: 27px; }
}
@media (max-width: 420px) {
  .recipe-main { grid-template-columns: 85px minmax(0,1fr); gap: 11px; }
  .drink-shot { width: 85px; height: 114px; }
  .ingredients { grid-template-columns: 1fr; row-gap: 5px; }
  .card-content { padding: 15px; }
  .visual-detail img { height: 74px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
