/* Buckhead Coffeehouse. Concept: the coffee ring, the faint mark a warm mug leaves on paper.
   Rings sit behind the hero photo, number the menu sheets, and shape the hours coaster.
   Paper, espresso and the olive from their buck logo. Newsreader for display, Manrope for reading.
   Reference ideas used: stacked sticky menu sheets and a nav that condenses into a pill (details.so),
   a coaster that knows today's hours and whether the room is open right now (designspells-style detail). */
:root {
  --bg: #f3eee4;
  --surface: #e9e1d2;
  --ink: #2b1d14;
  --muted: #7a6a5c;
  --accent: #4a2c1d;
  --accent2: #6f6a2e;
  --light: #f3eee4;
  --ring: rgba(74, 44, 29, .22);
  --font-display: "Newsreader";
  --font-body: "Manrope";
}
html { background: var(--bg); }
body { font-weight: 400; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: var(--step-4); line-height: .98; }
.split-mask { padding: .12em .06em .08em; margin: -.12em -.06em -.08em; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--accent2); }
.wrap { width: min(1360px, 100% - var(--gutter) * 2); }

/* rings */
.ring { position: absolute; border-radius: 50%; border: 2px solid var(--ring); pointer-events: none; }
.ring::after { content: ""; position: absolute; inset: -6px -2px 2px -4px; border-radius: 50%; border: 1.5px solid var(--ring); opacity: .55;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 62%); }
.ring--n { position: relative; width: 44px; height: 44px; display: grid; place-items: center; font: 500 .95rem/1 var(--font-body); color: var(--accent); flex: none; }
.ring--n::after { inset: -5px -1px 1px -3px; }

/* nav: wide bar that condenses into a pill */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 20px; padding: 16px var(--gutter);
  transition: padding .5s var(--ease-out); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-size: var(--step-1); }
.nav-brand img { width: auto; height: 46px; mix-blend-mode: multiply; }
.nav-links { display: none; gap: 26px; margin-left: auto; font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav-links a { text-decoration: none; }
.nav-call { margin-left: auto; text-decoration: none; font-weight: 600; font-size: var(--step--1); padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; }
.nav-links + .nav-call { margin-left: 0; }
.nav.is-pill { padding: 10px var(--gutter); }
.nav.is-pill::before { content: ""; position: absolute; inset: 6px var(--gutter) 0; border-radius: 999px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(43, 29, 20, .5); z-index: -1; }
.nav.is-pill .nav-brand span { display: none; }
.nav.is-pill .nav-brand img { height: 38px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav.is-pill { padding: 10px calc(var(--gutter) + 14px); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--step-0);
  border: 1.5px solid var(--ink); transition: background .3s, color .3s; cursor: pointer; }
.btn--ink { background: var(--ink); color: var(--light); }
.btn--ink:hover { background: var(--accent); border-color: var(--accent); }
.btn--ring { color: var(--ink); background: transparent; }
.btn--ring:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #b0522b; flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, #b0522b 20%, transparent); }
.dot.is-open { background: var(--accent2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent2) 25%, transparent); }

/* hero */
.hero { position: relative; display: grid; gap: 28px; padding: 110px var(--gutter) 40px; min-height: 100svh; overflow: hidden; }
.hero-place { font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.hero h1 { font-size: clamp(2.9rem, 1.4rem + 8.6vw, 9.6rem); line-height: .95; margin: .35em 0 .4em; max-width: 12ch; }
.hero-sub { max-width: 44ch; font-size: var(--step-1); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-photo { position: relative; aspect-ratio: 4/5; width: min(100%, 520px); border-radius: 999px 999px 24px 24px; overflow: visible; }
.hero-slides { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.hero-slides .slide img { object-position: center; }
.ring--hero { width: 46%; aspect-ratio: 1; left: -16%; bottom: 6%; border-width: 3px; }
.since { position: absolute; right: var(--gutter); top: 110px; margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: var(--step-2); line-height: .9; text-align: right; color: var(--muted); display: none; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 5vw; padding-top: 120px; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(4rem, 6.4vw, 7.6rem); max-width: none; }
  .hero-photo { justify-self: end; width: min(100%, 540px); }
  .since { display: block; top: auto; bottom: 48px; }
}

/* hours coaster */
.hours { padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); background: var(--surface); }
.hours-grid { display: grid; gap: 44px; align-items: center; }
.coaster { position: relative; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%; background: var(--bg); display: grid; align-content: center; justify-items: center; padding: 10%;
  box-shadow: 0 30px 60px -40px rgba(43, 29, 20, .6), inset 0 0 0 10px color-mix(in srgb, var(--accent2) 18%, transparent); }
.ring--coaster { inset: -14px -4px 4px -10px; border-width: 3px; }
.coaster-kicker { display: flex; align-items: center; gap: 10px; font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hours-list { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 2px; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 12px; border-radius: 999px; font-size: var(--step-0); }
.hours-list li span { color: var(--muted); }
.hours-list li b { font-weight: 500; font-variant-numeric: tabular-nums; }
.hours-list li.is-today { background: var(--ink); color: var(--light); }
.hours-list li.is-today span { color: color-mix(in srgb, var(--light) 70%, transparent); }
.hours-copy { display: grid; gap: 20px; }
.hours-copy h2 { max-width: 12ch; }
.hours-copy p { font-size: var(--step-1); line-height: 1.5; max-width: 40ch; color: var(--muted); }
address { font-style: normal; display: grid; gap: 6px; font-size: var(--step-1); line-height: 1.4; }
address a { color: var(--ink); text-decoration-color: var(--accent2); text-underline-offset: 5px; }
.hours-photo { margin: 0; aspect-ratio: 3/4; overflow: hidden; border-radius: 24px; }
.hours-photo img { width: 100%; height: 115%; object-fit: cover; }
@media (min-width: 900px) {
  .hours-grid { grid-template-columns: 420px 1fr 320px; gap: 6vw; }
  .hours-photo { margin-top: 80px; }
}

/* menu as stacked sheets */
.menu { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 100px); }
.menu-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 70px); }
.menu-head h2 { font-size: clamp(3.4rem, 1.5rem + 9vw, 10rem); line-height: .9; }
.menu-head p { max-width: 46ch; font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.sheets { display: grid; gap: 22px; }
.sheet { position: sticky; top: calc(84px + var(--i) * 10px); background: var(--bg); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: 22px;
  padding: clamp(22px, 3.5vw, 44px); box-shadow: 0 -12px 40px -26px rgba(43, 29, 20, .45); overflow: hidden; }
/* the mug mark on each sheet */
.sheet::before { content: ""; position: absolute; width: clamp(260px, 36vw, 520px); aspect-ratio: 1; right: -8%; top: -28%; border-radius: 50%;
  border: 2px solid var(--ring); opacity: .8; pointer-events: none; }
.sheet::after { content: ""; position: absolute; width: clamp(260px, 36vw, 520px); aspect-ratio: 1; right: calc(-8% - 6px); top: calc(-28% - 5px); border-radius: 50%;
  border: 1.5px solid var(--ring); opacity: .45; clip-path: polygon(0 0, 100% 0, 100% 55%, 0 55%); pointer-events: none; }
.sheet > * { position: relative; }
.sheet header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.sheet h3 { font-size: var(--step-3); line-height: 1; }
.sheet h3 small, .name small { font-family: var(--font-body); font-size: .5em; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-left: 8px; vertical-align: middle; text-transform: lowercase; }
.name small { display: block; margin: 2px 0 0; font-size: .72em; }
.sheet ul { list-style: none; margin: 0; padding: 0; display: grid; }
.sheet li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "desc desc"; gap: 2px 18px; padding: 14px 0; border-top: 1px dotted color-mix(in srgb, var(--ink) 30%, transparent); align-items: baseline; }
.sheet li:first-child { border-top: 0; }
.sheet li:not(:has(.desc)) { grid-template-columns: 1fr auto; grid-template-areas: "name price"; }
.name { grid-area: name; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.05; }
.desc { grid-area: desc; color: var(--muted); font-size: var(--step--1); line-height: 1.5; max-width: 62ch; }
.price { grid-area: price; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.addon .name { font-size: var(--step-0); font-family: var(--font-body); color: var(--muted); }
.sheet--dark { background: var(--ink); color: var(--light); border-color: transparent; }
.sheet--dark .desc { color: color-mix(in srgb, var(--light) 65%, transparent); }
.sheet--dark .ring--n { color: var(--light); }
.sheet--dark .ring, .sheet--dark .ring::after { border-color: color-mix(in srgb, var(--light) 35%, transparent); }
.sheet--dark li { border-top-color: color-mix(in srgb, var(--light) 25%, transparent); }
@media (min-width: 900px) {
  .sheet { padding: 44px 56px; }
  .sheet header { gap: 20px; margin-bottom: 26px; }
  .sheet li { grid-template-columns: 1fr 2fr auto; grid-template-areas: "name desc price"; gap: 0 32px; padding: 16px 0; }
  .desc { max-width: none; }
  .trio { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .trio li { grid-template-columns: 1fr auto; grid-template-areas: "name price" "desc desc"; }
  .trio li:nth-child(2) { border-top: 0; }
}

/* story */
.story { padding: clamp(90px, 12vw, 170px) 0; overflow: clip; }
.story-grid { display: grid; gap: 36px; align-items: center; }
.story-kicker { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); color: var(--accent2); }
.story-text { display: grid; gap: 22px; }
.story-text h2 { max-width: 14ch; }
.story-text p { font-size: var(--step-1); line-height: 1.55; max-width: 52ch; }
.story-photo { margin: 0; overflow: hidden; border-radius: 18px; }
.story-photo img { width: 100%; height: 115%; object-fit: cover; }
.story-photo--a { aspect-ratio: 3/4; width: 70%; justify-self: start; }
.story-photo--b { aspect-ratio: 3/4; width: 60%; justify-self: end; margin-top: -20%; }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 4fr 6fr 3fr; gap: 4vw; }
  .story-photo--a { width: 100%; margin-top: 10%; }
  .story-photo--b { width: 100%; margin-top: -30%; }
}

/* roaster */
.roast { padding: clamp(70px, 9vw, 120px) 0; background: var(--surface); }
.roast-grid { display: grid; gap: 36px; align-items: center; }
.roast-photo { margin: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: 18px; }
.roast-photo img { width: 100%; height: 100%; object-fit: cover; }
.roast-text { position: relative; display: grid; gap: 18px; padding-top: 18px; }
.roast-text h2 { max-width: 13ch; }
.roast-text p { font-size: var(--step-0); line-height: 1.6; color: var(--muted); max-width: 54ch; }
.ring--sm { width: 120px; height: 120px; right: -10px; top: -40px; opacity: .8; }
@media (min-width: 900px) { .roast-grid { grid-template-columns: 7fr 5fr; gap: 6vw; } .roast-photo { aspect-ratio: 16/10; } }

/* gallery */
.gallery { padding: clamp(60px, 8vw, 100px) 0 0; }
.gal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gal-grid figure { margin: 0; overflow: hidden; border-radius: 14px; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; }
.g1 { grid-column: 1 / 4; aspect-ratio: 3/4; }
.g2 { grid-column: 4 / 7; aspect-ratio: 3/4; margin-top: 18%; }
.g3 { grid-column: 1 / 3; aspect-ratio: 3/4; }
.g4 { grid-column: 3 / 7; aspect-ratio: 3/2; }
@media (min-width: 900px) {
  .gal-grid { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .g1 { grid-column: 1 / 4; aspect-ratio: 3/4; }
  .g2 { grid-column: 4 / 8; aspect-ratio: 4/3; margin-top: 12%; }
  .g3 { grid-column: 8 / 10; aspect-ratio: 3/4; margin-top: 4%; }
  .g4 { grid-column: 10 / 13; aspect-ratio: 3/4; margin-top: 20%; }
}

/* visit */
.visit { padding: clamp(90px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); }
.visit-grid { display: grid; gap: 40px; align-items: start; }
.visit-text { display: grid; gap: 20px; }
.visit-text h2 { max-width: 12ch; }
.visit-text p { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 44ch; }
.visit-links { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.visit-links li { border-top: 1px dotted color-mix(in srgb, var(--ink) 30%, transparent); padding: 14px 0; }
.visit-links li:last-child { border-bottom: 1px dotted color-mix(in srgb, var(--ink) 30%, transparent); }
.visit-links a { font-family: var(--font-display); font-size: var(--step-2); text-decoration: none; }
.visit-links a:hover { color: var(--accent2); }
.note { position: relative; background: var(--surface); padding: clamp(24px, 4vw, 44px); border-radius: 22px; display: grid; gap: 16px; }
.ring--note { width: 160px; height: 160px; right: -30px; top: -50px; }
.note label { display: grid; gap: 8px; font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.note input, .note textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); background: var(--bg); font-size: var(--step-0); letter-spacing: 0; text-transform: none; font-weight: 400; }
.note textarea { resize: vertical; }
.note input:focus, .note textarea:focus { outline: 2px solid var(--accent2); outline-offset: 1px; }
.note .btn { justify-self: start; margin-top: 6px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 6fr 5fr; gap: 8vw; } .note { margin-top: 30px; } }

/* footer */
.foot { background: var(--surface); padding: clamp(50px, 7vw, 80px) 0 120px; }
.foot-grid { display: grid; gap: 18px; justify-items: start; }
.foot-logo { width: 150px; height: auto; mix-blend-mode: multiply; }
.foot-line { font-size: var(--step-0); }
.foot a { color: var(--ink); text-decoration-color: var(--accent2); text-underline-offset: 4px; }
.foot-small { font-size: var(--step--1); color: var(--muted); }
@media (min-width: 900px) { .foot { padding-bottom: 70px; } }

/* sticky call bar (phones) */
.callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; gap: 8px; }
.callbar a { flex: 1; text-align: center; padding: 14px; border-radius: 999px; background: var(--ink); color: var(--light); font-weight: 600; text-decoration: none; }
.callbar a:last-child { background: var(--bg); color: var(--ink); border: 1.5px solid var(--ink); }
@media (max-width: 899px) { .callbar { display: flex; } .nav-call { display: none; } }
