/* Levee Coffee Co.: the storefront. Phone first. Brand values live in tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--dd-bar-h, 0px) + 12px); }
body { margin: 0; background: var(--paper); color: var(--oak); font: 400 1rem/1.5 var(--font-text); overflow-x: clip; }
h1, h2, h3, p, ul, dl, dd, table { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; transition: text-decoration-color .3s var(--ease); }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -100px; z-index: 20; padding: 12px 16px; background: var(--paper); color: var(--oak); }
.skip:focus { top: 8px; }
main:focus { outline: 0; }

:root { --space: 48px; --gutter: 16px; }
@media (min-width: 900px) { :root { --space: 96px; --gutter: 48px; } }
.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.small { color: var(--spanish-moss); font-size: .875rem; }

/* Announcement */
.note-bar { padding: 8px var(--gutter); background: var(--oak); color: var(--cream); font-size: .875rem; line-height: 1.43; text-align: center; text-wrap: balance; }

/* Header: the lockup left, the nav on the same line */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px max(var(--gutter), (100% - 1200px) / 2); border-bottom: 1px solid var(--rule); }
.brand img { width: 60px; }
.nav { display: flex; column-gap: 14px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font: 600 .75rem/1.3 var(--font-text); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; text-decoration: underline transparent; }
.nav a:hover { text-decoration-color: currentColor; }
@media (max-width: 379px) { .nav { column-gap: 10px; } .nav a { letter-spacing: .03em; } }
@media (max-width: 339px) { .top { gap: 8px; } .brand img { width: 48px; } .nav { column-gap: 7px; } .nav a { letter-spacing: 0; } }
@media (min-width: 900px) { .top { padding-block: 10px; } .brand img { width: 96px; } .nav { column-gap: 40px; } .nav a { letter-spacing: .14em; } }

/* Hero. Phones: the photograph whole, the words below it on Oak. Wide: the words on the trunk, left third. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--oak); color: var(--paper); }
.hero__img { grid-area: 1 / 1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 52% 50%; }
.hero::after { content: ""; grid-area: 1 / 1; background: linear-gradient(to bottom, rgb(29 67 48 / 0) 70%, var(--oak) 100%); }
.hero__text { position: relative; z-index: 1; grid-area: 2 / 1; display: grid; justify-items: start; gap: 8px; padding: 0 var(--gutter) 28px; margin-top: -12px; }
.hero__kicker { font-size: 1rem; font-weight: 500; }
.hero h1 { font-size: 2.25rem; font-weight: 500; line-height: 1.05; letter-spacing: -.025em; }
@media (max-width: 379px) { .hero h1 { font-size: 1.875rem; } }
@media (min-width: 900px) {
  .hero { height: clamp(480px, calc(100svh - 190px), 760px); grid-template-rows: minmax(0, 1fr); overflow: hidden; }
  /* A little wider than the screen, cut on the river side, so the trailer moves right of the words. */
  .hero__img { width: 120%; max-width: none; height: 100%; aspect-ratio: auto; object-position: 30% 62%; }
  .hero::after { background: linear-gradient(to right, rgb(10 22 15 / .78) 0%, rgb(10 22 15 / .6) 26%, rgb(10 22 15 / 0) 48%); }
  .hero__text { grid-area: 1 / 1; align-self: end; width: min(30%, 420px); margin: 0 0 72px max(var(--gutter), (100% - 1200px) / 2); padding: 0; gap: 16px; }
  .hero__kicker { font-size: 1.125rem; }
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1200px) { .hero h1 { font-size: 3.75rem; } }
.btn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0 24px; border: 1px solid currentColor; color: inherit; font: 600 1rem/1 var(--font-text); text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
.btn:hover { background: var(--paper); color: var(--oak); }
.hero .btn:focus-visible { outline-color: var(--paper); }

/* Sections */
.sec { padding-top: var(--space); }
.sec__h { margin-bottom: 20px; font-size: 1.5rem; font-weight: 500; line-height: 1.25; }
@media (min-width: 900px) { .sec__h { margin-bottom: 32px; font-size: 1.875rem; line-height: 1.2; } }
.sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 24px; }
#specials { padding-top: 28px; }
@media (min-width: 900px) { #specials { padding-top: 80px; } }
.band { margin-top: var(--space); padding-bottom: var(--space); background: var(--cream); }

/* Specials: the season pouring now as the feature, the other three coming back */
.specials { display: grid; gap: 40px; }
.sp__ph { position: relative; background: var(--cream); }
.sp__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sp__tag { position: absolute; left: 12px; top: 12px; padding: 8px 12px; background: var(--accent); color: var(--on-accent); font: 600 .75rem/1.2 var(--font-text); letter-spacing: .12em; text-transform: uppercase; }
.sp__name { font-weight: 500; }
.sp__price { font-variant-numeric: tabular-nums; }
.now .sp__ph img { aspect-ratio: 4 / 3; object-position: 50% 75%; }
.now .sp__body { margin-top: 16px; }
.now .sp__season { color: var(--spanish-moss); font-size: .875rem; font-weight: 500; }
.now .sp__name { margin-top: 2px; font-size: 1.875rem; line-height: 1.15; letter-spacing: -.01em; }
.now .sp__price { margin-top: 4px; font-size: 1.125rem; }
.now .sp__line { margin-top: 8px; color: var(--spanish-moss); }
.now .sp__back, .back .sp__tag, .back .sp__season, .back .sp__price, .back .sp__line { display: none; }
.back__h { margin-bottom: 12px; font-weight: 600; }
.back__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.back .sp__body { margin-top: 8px; font-size: .875rem; line-height: 1.43; }
.back .sp__name { font-size: .875rem; font-weight: 600; }
.back .sp__back { color: var(--spanish-moss); }
@media (min-width: 900px) {
  /* The feature spans both columns; the coming-back row sits under its words, at the photograph's foot. */
  .specials, .now .sp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; }
  .now { grid-area: 1 / 1 / 2 / 3; }
  .now .sp { display: grid; }
  .now .sp__ph img { aspect-ratio: 1; object-position: 50% 80%; }
  .now .sp__body { margin-top: 0; }
  .now .sp__season { font-size: 1rem; }
  .now .sp__name { margin-top: 4px; font-size: 2.25rem; }
  .now .sp__price { margin-top: 8px; font-size: 1.25rem; }
  .now .sp__line { margin-top: 12px; font-size: 1.125rem; line-height: 1.55; }
  .back { grid-area: 1 / 2; align-self: end; }
  .back__list { gap: 20px; }
}
@media (min-width: 1200px) { .now .sp__name { font-size: 3rem; line-height: 1.1; } }

/* Menu: names and prices, thin rules */
.menu { display: grid; gap: 32px; }
@media (min-width: 720px) { .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(48px, 8vw, 112px); } }
.menu__h { margin-bottom: 4px; font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.menu .list + .menu__h { margin-top: 32px; }
.list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.list li span:last-child { font-variant-numeric: tabular-nums; }
.menu + .small { margin-top: 20px; }

/* Find us */
.find { display: grid; gap: 24px; }
@media (min-width: 900px) { .find { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: center; } }
.find__img { width: 100%; aspect-ratio: 1600 / 1062; object-fit: cover; }
.spots { display: grid; gap: 16px; }
.spots dt { font-weight: 600; }
.spots dd { color: var(--spanish-moss); font-size: .875rem; }
.hours { width: 100%; margin-top: 32px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { margin-bottom: 4px; font-weight: 600; text-align: left; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; text-align: left; }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { font-weight: 600; }
.hours .is-today th::after { content: "Today"; margin-left: 10px; padding: 4px 8px; background: var(--oak); color: var(--cream); font-size: .75rem; vertical-align: 1px; }
.find .small { margin-top: 16px; }

/* Instagram: three by two */
.link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 12px; font-weight: 600; text-decoration-color: var(--rule); }
.link:hover { text-decoration-color: currentColor; }
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
@media (min-width: 900px) { .feed { gap: 8px; } }
.feed img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Footer */
.foot { margin-top: var(--space); padding: 40px var(--gutter) 32px; background: var(--oak); color: var(--cream); }
@media (min-width: 900px) { .foot { padding-block: 56px 40px; } }
.foot__in { display: grid; justify-items: center; gap: 12px; max-width: 44em; margin-inline: auto; text-align: center; }
.foot__logo { width: 168px; }
.foot__note { color: var(--leaf); font-size: .875rem; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration-color: rgb(244 234 213 / .4); }
.foot a:hover { text-decoration-color: currentColor; }
.foot a:focus-visible { outline-color: var(--cream); }

/* One soft rise as each section comes into view. Only when the script runs and motion is welcome. */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* Type: condensed sign-painter capitals for the headings, a plain sans for everything else. */
.hero h1, .sec__h, .sp__name, .menu__h { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.hero h1 { font-size: 3rem; line-height: .95; }
.sec__h { font-size: 2.25rem; }
.now .sp__name { font-size: 2.75rem; }
.back .sp__name { font-size: 1.25rem; letter-spacing: .04em; }
.menu__h { font-size: 1.625rem; letter-spacing: .05em; }
.sp__line { text-wrap: pretty; }
@media (max-width: 379px) { .hero h1 { font-size: 2.625rem; } }
@media (min-width: 900px) { .hero h1 { font-size: 4.25rem; } .sec__h { font-size: 3rem; } .now .sp__name { font-size: 3.5rem; } }
@media (min-width: 1200px) { .hero h1 { font-size: 5.25rem; } .now .sp__name { font-size: 4.25rem; } }

/* Only with ?embed=1 (the studio's project page frames the site): no studio bar */
html.embed:root { --dd-bar-h: 0px; }
.embed .dd-bar { display: none; }
@media (max-width: 500px) { html.embed { scrollbar-width: none; } html.embed::-webkit-scrollbar { display: none; } }
