/* The Local
   The page runs from 10AM to 2AM: sun-faded coaster colors at the top,
   wood and felt inside, pink neon at the bottom. */

:root {
  /* Day — the coaster */
  --sign-white: #f3ead8;   /* coaster white, aged by the sun */
  --sign-blue:  #1f4ea1;   /* coaster blue */
  --sand:       #eadbbd;   /* afternoon, warmer */

  /* Inside — the room */
  --wood:       #2a1b13;
  --felt:       #c3312a;
  --amber:      #e7a645;

  /* After dark — the neon */
  --night:      #0e0b0c;
  --neon:       #ff5fae;
  --cream:      #f3ead8;

  --gutter: clamp(1.1rem, 4vw, 3rem);

  /* Headings and labels: Barlow, drawn from California road signs and plates */
  --head: "Barlow Condensed", "Archivo Narrow", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--sign-blue);
  background: var(--night);
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }

h1, h2 { margin: 0; }

h2 {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  line-height: 1.05;
}

/* Time stamps: the only "section titles" on the page */
.stamp {
  margin: 0 0 1.25rem;
  font-family: var(--head);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.stamp::after {
  content: "";
  flex: 1;
  height: 2px;
  background: currentColor;
  opacity: .35;
}

/* Sun-faded photos — color comes back as the day goes on */
.faded { filter: sepia(.2) saturate(.85) contrast(.94) brightness(1.03); }

figcaption {
  font-size: .95rem;
  margin-top: .5rem;
}

/* The bar's round logo, set down like a coaster */
.coaster {
  display: block;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  clip-path: circle(48.6% at 50% 50%);
}

/* ===================== 10 AM ===================== */

.day {
  background: var(--sign-white);
  padding-bottom: clamp(2rem, 6vw, 5rem);
}

.topline {
  display: flex;
  gap: clamp(.7rem, 3vw, 1.25rem);
  padding: .9rem var(--gutter);
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(.9rem, 3.6vw, 1rem);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 2px solid var(--sign-blue);
  overflow-x: auto;
}
.topline { align-items: center; }
.topline a { text-decoration: none; padding: .35rem 0; white-space: nowrap; }
.topline a:hover { text-decoration: underline; text-underline-offset: .25em; }

.opening {
  display: grid;
  gap: 2rem;
  padding: 1.5rem var(--gutter) 0;
}

.opening h1 { line-height: 0; }
.opening .coaster {
  width: clamp(150px, 42vw, 230px);
  transform: rotate(-4deg);
  margin: -.25rem 0 1.25rem -.25rem;
  box-shadow: 0 6px 0 rgba(31, 78, 161, .15);
}

/* COCKTAILS / COLD BEER / POOL, stacked like the lines on a sign */
.sign-lines {
  margin: 0 0 2rem;
  font-family: var(--head);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2rem, 9.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: .05em;
}
.sign-lines span { display: block; }

.facts { margin: 0; border-top: 2px solid var(--sign-blue); }
.facts div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 2px solid var(--sign-blue);
}
.facts dt {
  font-family: var(--head);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-top: .2rem;
}
.facts dd { margin: 0; font-size: 1.2rem; font-weight: 500; }
.facts a { text-underline-offset: .2em; text-decoration-thickness: 2px; }

.small-print { margin: .9rem 0 0; font-weight: 500; }

.opening-photo img { width: 100%; }

@media (min-width: 860px) {
  .opening {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding-top: 2.5rem;
  }
  /* 10 AM sits level with the top of the photo; the words sit at the bottom */
  .opening-words { display: flex; flex-direction: column; }
  .sign-lines { font-size: clamp(2.4rem, 3.8vw, 3.5rem); }
  .opening-photo img {
    height: min(86vh, 790px);
    object-fit: cover;
    object-position: 50% 30%;
  }
  .opening .coaster {
    position: absolute;
    width: clamp(170px, 15vw, 230px);
    top: 1.5rem;
    right: calc(50% - clamp(170px, 15vw, 230px) / 2 - 1rem);
    z-index: 2;
    margin: 0;
  }
  .opening { position: relative; }
  .opening-words .stamp { margin-bottom: auto; padding-bottom: 2rem; }
}

/* ===================== Afternoon ===================== */

.afternoon {
  /* sign-white warming into sand */
  background: linear-gradient(var(--sign-white), var(--sand) 35%);
  color: #6b3f1d;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(3rem, 8vw, 6rem);
}

.collage { display: grid; gap: 2.25rem; }
.collage figure { width: 86%; }
.collage .c-cocktails { width: 70%; justify-self: end; margin-top: -3rem; position: relative;
                        border: 10px solid var(--sand); border-bottom-width: 0; }
.c-pour img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }

@media (min-width: 860px) {
  .collage {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 0 1.5rem;
    align-items: start;
  }
  .collage figure { width: auto; }
  .c-pour { grid-column: 1 / 8; grid-row: 1 / 3; }
  .collage .c-cocktails { grid-column: 8 / 12; grid-row: 1; margin-top: 6rem;
                          width: auto; justify-self: stretch; border: 0; }
}

/* ===================== Sundown ===================== */

.sundown {
  position: relative;
  background: #0d1d24;
  color: var(--cream);
}
.sundown img {
  width: 100%;
  height: clamp(320px, 70vw, 720px);
  object-fit: cover;
  object-position: 75% 30%;
}
.sundown .stamp {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 1rem;
  margin: 0;
  color: #f6c98d;
}

/* ===================== Inside ===================== */

.inside {
  background: var(--wood);
  color: var(--cream);
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 8vw, 6rem);
}
.inside .stamp { color: var(--amber); }

.room { margin: 0 calc(var(--gutter) * -1) 3rem; }
.room figcaption { padding: 0 var(--gutter); }

.inside h2 { color: var(--amber); }

/* Pool, games, bar: same-size photos, zig-zagging left / right / left */
.row { display: grid; gap: .9rem; margin-bottom: 3rem; }
.row:last-child { margin-bottom: 0; }
.row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pool-photo  { object-position: 50% 45%; }
.games-photo { object-position: 50% 35%; }
.bar-photo   { object-position: 50% 70%; }
.row-words p { margin: .4rem 0 0; font-size: 1.15rem; }

@media (min-width: 860px) {
  .room { margin: 0 0 4.5rem; }
  .room figcaption { padding: 0; }
  .row {
    grid-template-columns: 7fr 5fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: 5rem;
  }
  .row.flip { grid-template-columns: 5fr 7fr; }
  .row.flip figure { order: 2; }
  .row.flip .row-words { text-align: right; }
}

/* ===================== After dark ===================== */

.night {
  background: linear-gradient(var(--wood), var(--night) 18rem);
  color: var(--cream);
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) 2rem;
}
.night .stamp { color: var(--neon); }

.crew { margin-bottom: 3.5rem; }
.crew img { width: 100%; }

.find-us { position: relative; }
.find-us .coaster { width: 120px; transform: rotate(5deg); margin-bottom: 1.25rem; }
.find-us address { font-style: normal; margin-top: .75rem; }
.find-us address a {
  font-weight: 600;
  font-size: clamp(1.3rem, 4.6vw, 1.8rem);
  line-height: 1.15;
  text-underline-offset: .18em;
  text-decoration-thickness: 2px;
}
.find-us p { margin: .75rem 0 0; font-size: 1.1rem; }

@media (min-width: 860px) {
  .night {
    display: grid;
    grid-template-columns: 7fr 5fr;
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  .night > .stamp, .night > .neon, .night > .closing { grid-column: 1 / -1; }
  .crew { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .find-us { grid-column: 2; grid-row: 2; align-self: end; }
}

/* The slogan, as neon tubing */
.neon {
  margin: 5rem 0 2rem;
  font-weight: 800;
  font-stretch: 85%;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 10.5vw, 7rem);
  line-height: .95;
  color: #ffe3f1;
  text-shadow:
    0 0 .04em #fff,
    0 0 .12em var(--neon),
    0 0 .3em rgba(255, 95, 174, .6);
}
.neon span { display: block; }
.neon span + span { padding-left: .6em; }

.neon.is-off { color: #3a2a31; text-shadow: none; }
.neon.is-lit { animation: switch-on 1.1s steps(1, end); }
@keyframes switch-on {
  0%   { color: #3a2a31; text-shadow: none; }
  12%  { color: #ffe3f1; text-shadow: 0 0 .12em var(--neon), 0 0 .35em var(--neon); }
  20%  { color: #3a2a31; text-shadow: none; }
  34%  { color: #ffe3f1; text-shadow: 0 0 .12em var(--neon); }
  42%  { color: #3a2a31; text-shadow: none; }
  60%  { color: #ffe3f1; text-shadow: 0 0 .04em #fff, 0 0 .12em var(--neon), 0 0 .3em rgba(255, 95, 174, .6); }
}

.closing { margin-top: 1rem; }

/* ===================== Footer + phone buttons ===================== */

footer {
  background: var(--night);
  color: rgba(243, 234, 216, .55);
  font-size: .85rem;
  padding: 1rem var(--gutter) 5.5rem;
}
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
}
footer p { margin: 0; }
.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--neon);
  font-family: var(--head);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.to-top:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-links { display: flex; align-items: center; }
.concept-note { font-style: italic; }

.thumb-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 10;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--sign-blue);
}
.thumb-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  color: var(--sign-white);
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
}
.thumb-bar a + a { border-left: 2px solid rgba(243, 234, 216, .35); }

@media (min-width: 860px) {
  .thumb-bar { display: none; }
  footer { padding-bottom: 1.5rem; }
}

a:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; }
