

@font-face{
  font-family: 'Brush Hour';
  src: url('../assets/fonts/Brush-Hour-Regular.otf') format('opentype');
  font-display: swap;
}
@font-face{
  font-family: 'IBM Plex Mono';
  src: url('../assets/fonts/cafe/ibm-plex-mono-latin-300-normal.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'IBM Plex Mono';
  src: url('../assets/fonts/cafe/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Nothing You Could Do';
  src: url('../assets/fonts/cafe/nothing-you-could-do-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root{
  --cafe-paper: #fff;
  --cafe-ink:   #000;
  --cafe-text:  #304eba;
  --cafe-rule:  #55668c;
  --cafe-gold:  #aa760d;
  --cafe-photo: #d9d1c4;
  --cafe-paper-deep: #ece3cd;
  --font-brush:  'Brush Hour', cursive;
  --font-mono:   'Brush Hour', 'Courier New', monospace;
  --font-script: 'Brush Hour', 'Segoe Script', cursive;
}

*{ box-sizing: border-box; }

.cafe-body{
  margin: 0;
  background: var(--cafe-paper);
  color: var(--cafe-text);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


.cafe-body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: .05;
  mix-blend-mode: multiply;
  /* background-image:
    radial-gradient(circle at 20% 30%, #000 0, transparent 1px),
    radial-gradient(circle at 70% 60%, #000 0, transparent 1px),
    radial-gradient(circle at 40% 80%, #000 0, transparent 1px); */
  background-size: 3px 3px, 4px 4px, 5px 5px;
}

.cafe-opening{
  position: relative;
  background: var(--cafe-paper-deep) center/cover no-repeat;
}
.cafe-opening.js-responsive-bg{
  transition: opacity .45s ease;
}

.cafe-page{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.cafe-page a{ color: inherit; text-decoration: none; }
.cafe-page a:focus-visible{ outline: 1px solid var(--cafe-ink); outline-offset: 4px; }


.cafe-footer{
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
}


.cafe-hero{
  text-align: center;
}

.cafe-eyebrow{
  margin: 0;
  font-family: var(--font-brush);
  color: var(--cafe-gold);
}

.cafe-headline span{ display: block; }
.cafe-headline{
  margin: 0 auto;
  font-family: var(--font-brush);
  font-weight: 400;
  color: var(--cafe-ink);
  line-height: .95;
}

.cafe-scribble{
  display: inline-block;
  margin: 0 auto;
  font-family: var(--font-script);
  color: var(--cafe-gold);
  transform: rotate(-3deg);
}
.cafe-scribble span{ display: inline; }
.cafe-scribble span:not(:last-child)::after{ content: ' '; }

.cafe-tagline{
  margin: 0 auto;
  max-width: 42em;
  font-family: var(--font-brush);
  font-style: italic;
  color: var(--cafe-text);
}

.cafe-note-line{
  margin: 0 auto;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--cafe-rule);
}

.cafe-empty{
  margin: 0 auto;
  font-family: var(--font-mono);
  text-align: center;
  color: var(--cafe-rule);
}

.cafe-gallery{
  position: relative;
  display: flex;
  flex-direction: column;
}

.cafe-row{
  display: flex;
  align-items: center;
  margin: 0;
}
.cafe-row--right{ flex-direction: row-reverse; }

.cafe-row--left .cafe-photo-caption,
.cafe-row--right .cafe-photo-caption{ text-align: left; }

.cafe-row--center{
  flex-direction: column;
  text-align: center;
}

.cafe-row .cafe-media{ flex: var(--photo-flex, 1.4) 1 0%; min-width: 0; }
.cafe-row .cafe-photo-caption{ flex: 1 1 0%; min-width: 0; }
.cafe-row--center .cafe-media{ flex: none; width: var(--photo-width, 46%); }
.cafe-row--center .cafe-photo-caption{ flex: none; text-align: center; }

.cafe-media{
  position: relative;
  display: block;
}

.cafe-media img{
  display: block;
  width: 100%;
  background: var(--cafe-photo);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.cafe-photo-caption{ display: block; }
.cafe-photo-title{
  display: block;
  font-family: var(--font-brush);
  font-style: italic;
  color: var(--cafe-ink);
}
.cafe-photo-note{
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--cafe-rule);
}

.cafe-photo-doodle{
  position: absolute;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
  opacity: .85;
}
.cafe-photo-doodle svg{ display: block; width: 100%; height: 100%; overflow: visible; }
.cafe-photo-doodle.is-tl{ transform: rotate(-8deg); }
.cafe-photo-doodle.is-br{ transform: rotate(8deg); }


.cafe-divider{
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.cafe-divider svg,
.cafe-divider img{ display: block; width: 100%; height: 100%; object-fit: contain; overflow: visible; }


.cafe-menu{
  position: relative;
}
.cafe-menu-doodle{
  position: absolute;
  line-height: 0;
  pointer-events: none;
}
.cafe-menu-doodle svg{ display: block; width: 100%; height: 100%; overflow: visible; }

.cafe-menu-title{
  margin: 0;
  text-align: center;
  font-family: var(--font-brush);
  font-weight: 400;
  color: var(--cafe-ink);
}
.cafe-menu-subtitle{
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--cafe-rule);
}

.cafe-menu-sections{
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.cafe-menu-section{ text-align: center; }
.cafe-menu-section-title{
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cafe-ink);
}
.cafe-menu-section-title::after{ content: ':'; }
.cafe-menu-section-items{
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 300;
  color: var(--cafe-text);
}
.cafe-menu-section-items span:not(:last-child)::after{ content: ' \00b7 '; opacity: .55; }

.cafe-menu-empty{
  text-align: center;
  font-family: var(--font-mono);
  color: var(--cafe-rule);
}

.cafe-menu-footnote{
  text-align: center;
  font-family: var(--font-script);
  color: var(--cafe-ink);
}


.cafe-footer{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--cafe-text);
}

@media (min-width: 601px){

  .cafe-opening{ height: 100vh; height: 100dvh; }

  .cafe-hero{ padding: 9.5rem 3rem 1rem; }

  .cafe-eyebrow{ font-size: 1rem; margin-bottom: .5rem; }


  .cafe-headline{ font-size: 3.4rem; letter-spacing: -0.01em; }
  .cafe-headline span:first-child{ margin-bottom: .1em; }

  .cafe-scribble{ margin-top: .8rem; font-size: 1.3rem; }

  .cafe-tagline{ margin-top: 1.6rem; font-size: 1.05rem; line-height: 1.5; }
  .cafe-note-line{ margin-top: .9rem; font-size: .78rem; letter-spacing: .1em; }

  .cafe-empty{ margin-top: 3rem; font-size: .9rem; }

  .cafe-gallery{
    gap: clamp(3.2rem, 6vw, 5rem);
    max-width: 760px;
    margin: 4.4rem auto 1rem;
    padding: 0 2rem;
  }
  .cafe-row{ gap: clamp(1.6rem, 4vw, 3rem); }
  .cafe-row--center{ gap: 1rem; }

  .cafe-photo-caption{ margin-top: 0; }
  .cafe-row--center .cafe-photo-caption{ margin-top: 0; }
  .cafe-photo-title{ font-size: 1.02rem; }
  .cafe-photo-note{ font-size: .58rem; letter-spacing: .1em; margin-top: .3rem; }

  .cafe-photo-doodle{ width: 58px; aspect-ratio: 1/1; }
  .cafe-photo-doodle.is-tl{ top: -14%; left: -13%; }
  .cafe-photo-doodle.is-br{ bottom: -14%; right: -13%; }

  .cafe-divider{
    width: 170px; aspect-ratio: 800/60;
    margin: 22px auto;
  }

  .cafe-menu{
    padding: 32px 40px 68px;
  }
  .cafe-menu-doodle--bag{
    right: 28px; top: -4px;
    width: 68px; aspect-ratio: 340/440;
  }
  .cafe-menu-doodle--moka{
    left: 14px; bottom: 7px;
    width: 66px; aspect-ratio: 420/420;
    transform: rotate(-4deg);
  }
  .cafe-menu-title{
    font-size: 60px;
    line-height: .9;
    letter-spacing: -0.01em;
  }
  .cafe-menu-subtitle{
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: 0.28em;
  }
  .cafe-menu-sections{
    max-width: 380px;
    padding-top: 54px;
    gap: 36px;
  }
  .cafe-menu-section-title{
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0.22em;
  }
  .cafe-menu-section-items{
    font-size: 16px;
    letter-spacing: 0.04em;
    line-height: 1.9;
  }
  .cafe-menu-empty{ padding-top: 40px; font-size: 12px; }
  .cafe-menu-footnote{
    margin-top: 36px;
    font-size: 18px;
  }

  .cafe-footer{
    padding: 14px 34px 30px;
    font-size: 9.5px;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 600px){

  .cafe-opening{ height: 100vh; height: 100dvh; }

  .cafe-hero{ padding: 96px 20px 8px; }

  .cafe-eyebrow{ font-size: 13px; }


  .cafe-headline{ font-size: 40px; letter-spacing: -0.02em; }
  .cafe-headline span:first-child{ margin-bottom: 2px; }

  .cafe-scribble{ margin-top: 10px; font-size: 18px; }

  .cafe-tagline{ margin-top: 18px; font-size: 15px; line-height: 1.5; padding: 0 6px; }
  .cafe-note-line{ margin-top: 10px; font-size: 11px; letter-spacing: 0.08em; }

  .cafe-empty{ margin-top: 32px; font-size: 12.5px; }

  .cafe-gallery{
    gap: 40px;
    max-width: 420px;
    margin: 40px auto 8px;
    padding: 0 24px;
  }
  .cafe-row,
  .cafe-row--left,
  .cafe-row--right,
  .cafe-row--center{
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .cafe-row .cafe-media,
  .cafe-row--center .cafe-media{ flex: none; width: 58%; max-width: 220px; margin: 0 auto; }
  .cafe-row .cafe-photo-caption,
  .cafe-row--left .cafe-photo-caption,
  .cafe-row--right .cafe-photo-caption{ flex: none; text-align: center; }

  .cafe-photo-title{ font-size: 14px; }
  .cafe-photo-note{ font-size: 9px; letter-spacing: 0.08em; margin-top: 3px; }

  .cafe-photo-doodle{ width: 36px; aspect-ratio: 1/1; }
  .cafe-photo-doodle.is-tl{ top: -10%; left: -8%; }
  .cafe-photo-doodle.is-br{ bottom: -10%; right: -8%; }

  .cafe-divider{ width: 170px; aspect-ratio: 800/60; margin: 26px auto; }

  .cafe-menu{ padding: 32px 20px 64px; }
  .cafe-menu-doodle--bag{ right: 4%; top: -2%; width: 74px; aspect-ratio: 340/440; }
  .cafe-menu-doodle--moka{ display: none; }
  .cafe-menu-title{
    font-size: 42px;
    line-height: .92;
  }
  .cafe-menu-subtitle{
    margin-top: 12px;
    font-size: 11px; letter-spacing: 0.22em;
  }
  .cafe-menu-sections{
    max-width: 420px;
    padding-top: 56px;
    gap: 34px;
  }
  .cafe-menu-section-title{
    margin-bottom: 8px;
    font-size: 14px; letter-spacing: 0.18em;
  }
  .cafe-menu-section-items{
    font-size: 14px; letter-spacing: 0.03em; line-height: 1.8;
  }
  .cafe-menu-empty{ padding-top: 40px; font-size: 12px; }
  .cafe-menu-footnote{ margin-top: 36px; font-size: 17px; }

  .cafe-footer{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 24px 20px 40px;
    font-size: 11px; letter-spacing: 0.12em;
  }
}

.is-sound-toggle{ cursor: pointer; }
