/* Levee Coffee Co. brand board: cream tiles painted on a Live Oak wall. Brand values live in tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--oak); color: var(--oak); font: 400 1.0625rem/1.5 var(--font-text); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
b, strong { font-weight: 600; }
/* Painted signs and headings: League Gothic capitals. Everything read stays in Barlow. */
.th, .season__name, .season__special, .type__head, .mb__row--sp span, .af__name { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -100px; z-index: 20; padding: 12px 16px; background: var(--paper); color: var(--oak); }
.skip:focus { top: 8px; }
.levee { fill: var(--moss); }

/* Grid */
.board { display: grid; gap: clamp(10px, 1.2vw, 16px); width: min(100% - 2 * clamp(10px, 2.4vw, 40px), 1600px); margin: clamp(10px, 2.4vw, 40px) auto; }
.board:focus { outline: 0; }
@media (min-width: 960px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--wide { grid-column: 1 / -1; } }
.tile { --tp: clamp(20px, 3vw, 44px); position: relative; display: flex; flex-direction: column; min-width: 0; padding: var(--tp); border-radius: 12px; background: var(--cream); overflow: hidden; container-type: inline-size; }
.tile--deep { background: #EDE1C6; }
.tl { display: flex; align-items: center; gap: 12px; color: var(--spanish-moss); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.tl__n { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 15px; background: var(--oak); color: var(--cream); font: 600 .875rem/1 var(--font-text); letter-spacing: 0; }
.th { margin: 14px 0 clamp(20px, 3cqi, 32px); font-size: clamp(2.125rem, 6cqi, 3rem); text-wrap: balance; }
.note { margin-top: auto; padding-top: 22px; max-width: 62ch; color: var(--spanish-moss); font-size: .9375rem; }
.note a { color: var(--oak); font-weight: 600; display: inline-block; padding-block: 12px; margin-block: -12px; }

/* 1. Cover: the reversed logo on green */
.tile--cover { background: var(--oak); color: var(--cream); min-height: clamp(420px, 44vw, 620px); }
.tl--rev { color: var(--leaf); } .tl--rev .tl__n { background: var(--cream); color: var(--oak); }
.cover { flex: 1; display: grid; place-items: center; align-content: center; gap: 26px; padding-block: 36px; text-align: center; }
.cover__lock { margin: 0; }
.cover__logo { width: clamp(240px, 46cqi, 520px); }
.cover__line { max-width: 34em; color: var(--leaf); font-size: clamp(1rem, 2cqi, 1.25rem); }
.tile__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 14px; border-top: 1px solid rgb(244 234 213 / .3); color: var(--leaf); }
.tile__foot a { color: var(--cream); font-weight: 600; display: inline-block; padding-block: 12px; margin-block: -12px; }

/* 3. The small mark: construction and sizes */
.con__svg { width: 100%; max-width: 640px; margin-inline: auto; overflow: visible; }
.con__guide { fill: none; stroke: #B3253A; stroke-width: .25; stroke-dasharray: 1 1; }
.con__guide circle { stroke-dasharray: none; stroke-width: .3; }
.con__t { fill: #9A1F31; font: 600 3px/1 var(--font-text); text-anchor: end; }
.con__t text:nth-child(4), .con__t text:nth-child(5) { text-anchor: start; }

/* 2. The logo */
.locks { display: grid; gap: 12px; }
@container (min-width: 480px) { .locks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lk--wide { grid-column: 1 / -1; } }
.lk { display: grid; grid-template-rows: 1fr auto; gap: 8px; min-width: 0; }
.lk__art { display: grid; place-items: center; min-height: 150px; padding: 20px; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.lk__art--oak { background: var(--oak); color: var(--cream); }
.lk figcaption { color: var(--spanish-moss); font-size: .875rem; }
.lk__logo { width: min(100%, 300px); }
.lk--wide .lk__logo { width: min(100%, 380px); }
.lk__art--sizes { min-height: 0; margin-top: 18px; }
.sizes { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 14px 18px; }
.sizes li { display: grid; justify-items: center; gap: 6px; color: var(--spanish-moss); font-size: .8125rem; }
.sz { fill: var(--oak); }
.sizes svg[width="16"], .sizes img[width="16"] { width: 16px; } .sizes svg[width="24"] { width: 24px; } .sizes svg[width="48"] { width: 48px; } .sizes img[width="32"] { width: 32px; }

/* 4. Palette */
.pal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pal--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
@container (min-width: 560px) { .pal--sm { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sw { display: flex; flex-direction: column; gap: 2px; min-height: 104px; padding: 12px; border-radius: 8px; font-size: .875rem; line-height: 1.35; }
.pal:not(.pal--sm) .sw { min-height: clamp(150px, 30cqi, 230px); font-size: .9375rem; }
.sw strong { font-size: 1rem; }
.sw .use { margin-top: auto; }
.sw .ct { font-weight: 600; }
.sw--oak { background: var(--oak); color: var(--cream); }
.sw--cream { background: var(--cream); box-shadow: inset 0 0 0 1px var(--rule); }
.sw--paper { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.sw--moss { background: var(--moss); color: #fff; }
.sw--bark { background: var(--bark); color: var(--cream); }
.sw--sun { background: var(--sunlight); color: #22180F; }
.sw--spanish { background: var(--spanish-moss); color: var(--cream); }
.sw--leaf { background: var(--leaf); color: var(--oak); }

/* 6. Seasons */
.seasons { display: grid; gap: 12px; }
.seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (min-width: 1100px) { .seasons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seasons > li { display: flex; flex-direction: column; gap: 8px; padding: 0 0 16px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.seasons > li > :not(.season__ph) { margin-inline: 16px; }
.season__ph { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 62%; border-bottom: 8px solid var(--accent); }
.season__when { margin-top: 6px; color: var(--accent-ink); font-size: .75rem; }
.season__name { font-size: 2rem; }
.season__drink { margin-top: 4px; padding: 14px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-size: .9375rem; }
.season__drink .caps { font-size: .6875rem; }
.season__special { margin: 6px 0 0; font-size: 1.75rem; }
.season__special span { display: block; margin-top: 6px; font: 500 1.125rem/1.2 var(--font-text); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.season__hex { margin-top: auto; padding-top: 6px; color: var(--spanish-moss); font-size: .8125rem; }
.season__chip { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; background: var(--accent); vertical-align: -1px; }

@container (max-width: 560px) { .seasons { gap: 10px; } .seasons > li > :not(.season__ph) { margin-inline: 12px; } .season__name { font-size: 1.625rem; } .season__drink { padding: 10px 12px; } .season__special { font-size: 1.375rem; } .season__special span { font-size: 1rem; } }

/* 5. Type */
.type { display: grid; gap: 10px; flex: 1; align-content: space-between; padding-top: 18px; }
.type__meta { max-width: 52ch; margin-bottom: 16px; text-wrap: pretty; color: var(--spanish-moss); font-size: .9375rem; }
.type__meta strong { color: var(--oak); }
.type__head { font-size: clamp(3rem, 12cqi, 5.25rem); line-height: .95; }
.type__caps { font-size: clamp(.8125rem, 2.4cqi, 1rem); }
.type__text { font-size: clamp(1.125rem, 3cqi, 1.375rem); line-height: 1.35; }
.type__list { max-width: 26em; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.type__list p { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--rule); }
.type__list p:first-child { border-top: 1px solid var(--rule); }

/* 7. On the trailer */
.trailer-use { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; }
.trailer-use figure { display: grid; gap: 8px; min-width: 0; }
.trailer-use figcaption { color: var(--spanish-moss); font-size: .875rem; text-align: center; }
.mb { padding: 14px 14px 16px; border-radius: 6px; background: var(--oak); color: var(--cream); box-shadow: inset 0 0 0 4px var(--oak), inset 0 0 0 5px rgb(244 234 213 / .35); font-size: clamp(.75rem, 2.2cqi, .9375rem); }
.mb__logo { width: 44%; max-width: 104px; margin: 0 auto 8px; }
.mb__row { display: flex; justify-content: space-between; gap: 6px; padding: 3px 0; border-bottom: 1px dotted rgb(244 234 213 / .35); }
.mb__row b { font-variant-numeric: tabular-nums; }
.mb__row--sp { align-items: center; padding: 4px 0 6px; }
.mb__row--sp span { font-size: max(18px, 1.5em); }
.mb__row--sp b { padding: 1px 6px; border-radius: 3px; background: var(--accent); color: var(--on-accent); }
.af { width: 100%; max-width: 220px; margin-inline: auto; }
.af__legs { fill: var(--bark); }
.af__board { fill: var(--oak); }
.af__line { fill: none; stroke: var(--cream); stroke-opacity: .35; stroke-width: 1; }
.af__caps { fill: var(--leaf); font: 600 7.5px/1 var(--font-text); letter-spacing: .16em; }
.af__name { fill: var(--cream); font-size: 19px; }
.af__price { fill: var(--accent); }
.af__pricet { fill: var(--on-accent); font: 600 9px/1 var(--font-text); }

/* 8. In hand */
.cups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; margin-block: auto; }
.cup { width: 100%; max-width: 200px; margin-inline: auto; }
.cup__body { fill: #FFFDF8; stroke: rgb(29 67 48 / .25); stroke-width: .8; }
.cup__sleeve { fill: var(--accent); }
.cup__lid { fill: var(--oak); }
.cards { display: grid; gap: 12px; margin-top: 22px; }
@container (min-width: 560px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stamp { padding: 14px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule), 0 3px 0 var(--accent); }
.stamp__head { display: grid; gap: 2px; margin-bottom: 12px; font-size: .875rem; }
.stamp__logo { width: 84px; margin-bottom: 2px; }
.stamp__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.stamp__grid li { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--rule); }
.stamp__grid li.on { background: var(--accent) center / 60% no-repeat; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FBF5E8'%3E%3Cpath d='M0 14.2L4 12.6H12L16 14.2V16H0Z'/%3E%3Cpath d='M7 12.8V9.6H9V12.8Z'/%3E%3Cpath d='M1 10.2C3.5 9.1 6 9 7.2 9.5H8.8C10 9 12.5 9.1 15 10.2V11.3C12.5 10.6 10.5 10.7 8.8 11.2H7.2C5.5 10.7 3.5 10.6 1 11.3Z'/%3E%3Ccircle cx='4.4' cy='5.6' r='2.7'/%3E%3Ccircle cx='8' cy='4.2' r='3.4'/%3E%3Ccircle cx='11.6' cy='5.6' r='2.7'/%3E%3Crect x='1.7' y='5.4' width='12.6' height='2.4' rx='1.2'/%3E%3C/svg%3E"); }

/* 9. The site */
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@container (min-width: 900px) { .screens { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.screens li { display: grid; gap: 12px; align-content: start; }
.screens img { width: 100%; border-radius: 22px; border: 6px solid var(--oak); }
.screens span { color: var(--spanish-moss); font-size: .875rem; }
.screens strong { color: var(--oak); }

/* 10. Voice */
.th--big { font-size: clamp(2.5rem, 7cqi, 4.5rem); }
.voice { display: grid; gap: 0 clamp(24px, 4cqi, 56px); }
@container (min-width: 720px) { .voice { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vrule { display: grid; gap: 8px; padding: 16px 0 18px; border-top: 1px solid var(--rule); }
.vrule h3 { color: var(--spanish-moss); font-size: .75rem; }
.vrule p { display: grid; grid-template-columns: 4.6rem 1fr; gap: 12px; font-size: 1.125rem; }
.vrule p .caps { padding-top: .35em; font-size: .6875rem; }
.do .caps { color: var(--oak); }
.dont { color: var(--spanish-moss); }
.dont s { text-decoration-thickness: 1px; }

/* Colophon */
.tile--colophon { display: grid; gap: 6px; justify-items: center; padding-block: 32px; background: #EDE1C6; text-align: center; color: var(--spanish-moss); font-size: .9375rem; }
.tile--colophon p { max-width: 70ch; }
.tile--colophon a { display: inline-flex; align-items: center; min-height: 44px; color: var(--oak); font-weight: 600; }
