/* ===================================================================
   mitcha matcha — design tokens
   ink #1E1E1E · cream #F7F6F1 · blue #7390C8 · brown #493F33
   blush #DCB1C5 · yellow #EFEA8C · grey #898884

   Mobile-first: base rules target small screens, then scale up
   with min-width media queries.
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital@0;1&display=swap');

:root{
  --ink:#1E1E1E;
  --cream:#F7F6F1;
  --blue:#7390C8;
  --brown:#493F33;
  --blush:#DCB1C5;
  --yellow:#EFEA8C;
  --grey:#898884;
  --max:1180px;
  --gutter:20px;
}
@media (min-width:600px){ :root{ --gutter:32px; } }

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%;}

body{
  background:var(--cream);
  color:var(--ink);
  font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
  font-size:16px;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none;}
img{max-width:100%;}

.mono{
  font-family:"Space Mono", monospace;
  letter-spacing:0.02em;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--gutter);
}

a:focus-visible, button:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
}

/* -------------------- nav -------------------- */
header{
  padding:16px 0;
  border-bottom:1px solid rgba(30,30,30,0.1);
  position:sticky;
  top:0;
  background:var(--cream);
  z-index:50;
}
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.logo img{
  height:22px;
  display:block;
}

/* mobile nav: hidden by default, toggled open as a full-width panel */
.nav-links{
  display:none;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  font-size:17px;
  width:100%;
  order:10;
}
.nav-links.open{
  display:flex;
}
.nav-links a{
  width:100%;
  padding:14px 0;
  border-bottom:1px solid rgba(30,30,30,0.08);
}
.nav-links a.active{
  font-style:italic;
}

.socials{
  display:flex;
  gap:12px;
}
.socials a{
  width:36px;height:36px;
  border-radius:50%;
  border:1px solid var(--ink);
  display:flex;align-items:center;justify-content:center;
  transition:background .15s ease, color .15s ease;
  flex-shrink:0;
}
.socials a:hover{
  background:var(--ink);
  color:var(--cream);
}
.socials svg{width:15px;height:15px;fill:currentColor;}

.nav-toggle{
  display:flex;
  align-items:center;
  background:none;border:1px solid var(--ink);
  border-radius:999px;
  padding:8px 16px;
  font-size:14px;
  font-family:inherit;
  cursor:pointer;
  color:var(--ink);
}

.navbar-right{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Desktop nav: inline links, no hamburger */
@media (min-width:760px){
  .nav-links{
    display:flex !important;
    flex-direction:row;
    align-items:center;
    gap:32px;
    width:auto;
    order:0;
  }
  .nav-links a{
    width:auto;
    padding:0 0 2px 0;
    border-bottom:none;
  }
  .nav-toggle{display:none;}
}

/* -------------------- footer -------------------- */
footer{
  border-top:1px solid rgba(30,30,30,0.1);
  padding:48px 0 28px;
  margin-top:80px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px 20px;
}
.footer-col:first-child{ grid-column:1 / -1; }
.footer-col h4{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--grey);
  margin-bottom:12px;
  font-weight:400;
}
.footer-col p, .footer-col a{
  font-size:14px;
  display:block;
  margin-bottom:8px;
}
.footer-bottom{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid rgba(30,30,30,0.08);
  display:flex;
  flex-direction:column;
  font-size:12px;
  color:var(--grey);
  gap:6px;
}
@media (min-width:600px){
  .footer-grid{ grid-template-columns:repeat(4,1fr); gap:40px; }
  .footer-col:first-child{ grid-column:auto; }
  .footer-bottom{ flex-direction:row; justify-content:space-between; }
}

/* -------------------- buttons -------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 26px;
  border:1px solid var(--ink);
  border-radius:999px;
  font-size:15px;
  background:transparent;
  transition:background .15s ease, color .15s ease;
  min-height:48px;
  width:100%;
}
@media (min-width:480px){
  .btn{ width:auto; }
}
.btn:hover{
  background:var(--ink);
  color:var(--cream);
}
.btn-solid{
  background:var(--ink);
  color:var(--cream);
}
.btn-solid:hover{
  background:var(--blue);
  color:var(--ink);
}
.btn-row{
  display:flex;
  flex-direction:column;
  gap:12px;
}
@media (min-width:480px){
  .btn-row{ flex-direction:row; flex-wrap:wrap; }
}

/* -------------------- shape motif -------------------- */
.dot{ border-radius:50%; display:inline-block; }

/* -------------------- section spacing -------------------- */
section{padding:56px 0;}
@media (min-width:760px){
  section{padding:96px 0;}
}

.eyebrow{
  font-size:12px;
  color:var(--grey);
  margin-bottom:12px;
}

h1,h2,h3{
  font-weight:500;
  letter-spacing:-0.01em;
}

.hairline{
  height:1px;
  background:rgba(30,30,30,0.12);
  border:none;
}

/* -------------------- image-forward patterns -------------------- */
.hero-photo{
  position:relative;
  width:100%;
  height:78vh;
  min-height:440px;
  max-height:760px;
  overflow:hidden;
}
.hero-photo.short{
  height:44vh;
  min-height:320px;
}
.hero-photo img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.hero-photo .hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:24px;
  background:linear-gradient(to top, rgba(30,30,30,0.6) 0%, rgba(30,30,30,0) 50%);
}
.hero-overlay h1{
  color:#fff;
  font-size:clamp(28px, 7vw, 56px);
  max-width:640px;
  margin-bottom:18px;
  line-height:1.1;
}
.hero-overlay .eyebrow{color:#fff; opacity:0.9;}
@media (min-width:760px){
  .hero-photo .hero-overlay{ padding:48px; }
}

.photo-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:3px;
}
.photo-grid img{
  width:100%;height:100%;
  aspect-ratio:1/1.1;
  object-fit:cover;
  display:block;
}
@media (min-width:700px){
  .photo-grid{grid-template-columns:repeat(3,1fr); gap:4px;}
}

.split-banner{
  display:grid;
  grid-template-columns:1fr;
}
.split-banner .photo-side{ height:340px; }
.split-banner .photo-side img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.split-banner .text-side{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:32px var(--gutter);
  background:var(--cream);
}
@media (min-width:820px){
  .split-banner{ grid-template-columns:1fr 1fr; min-height:520px; }
  .split-banner .photo-side{ height:auto; }
  .split-banner .text-side{ padding:64px; }
}

.drink-card{ display:block; }
.drink-card img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
  display:block;
  border-radius:4px;
  margin-bottom:14px;
}
.drink-card h3{font-size:16px; margin-bottom:4px;}
.drink-cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px 16px;
}
@media (min-width:600px){
  .drink-cards{ gap:24px; }
}
@media (min-width:900px){
  .drink-cards{grid-template-columns:repeat(4,1fr); gap:28px;}
  .drink-card h3{font-size:18px;}
}

/* -------------------- callout banner -------------------- */
.callout-banner{
  background:var(--brown);
  color:var(--cream);
  border-radius:20px;
  margin:0 var(--gutter);
  padding:36px var(--gutter);
}
.callout-banner .callout-inner{
  max-width:calc(var(--max) - var(--gutter) * 2);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.callout-banner h2{ font-size:22px; color:var(--cream); }
.callout-banner .btn{ align-self:flex-start; }
@media (min-width:640px){
  .callout-banner{ border-radius:28px; padding:64px 48px; }
  .callout-banner .callout-inner{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }
  .callout-banner h2{ font-size:30px; }
  .callout-banner .btn{ align-self:auto; }
}
.drink-row { padding: 20px 0; border-bottom: 1px solid #eee; }
.drink-row:last-child { border-bottom: none; }
header:has(.nav-links.open) {
  background: var(--yellow);
}

.nav-links.open {
  margin: 8px calc(-1 * var(--gutter)) -16px;
  padding: 8px var(--gutter) 16px;
  width: calc(100% + var(--gutter) * 2);
}

.nav-links.open a {
  border-bottom: 1px solid rgba(30,30,30,0.15);
}

