/* =========================================================
   THE DAILY CUP — design tokens
   Palette: dark espresso, roast brown, warm parchment,
   crema gold accent, coffee-leaf green secondary accent.
   Type: Fraunces (display) / Inter (body) / IBM Plex Mono (utility)
   ========================================================= */

:root{
  --espresso:  #241511;
  --espresso-2:#3a241b;
  --roast:     #7a4a2c;
  --parchment: #f4ecd8;
  --parchment-2:#ece0c4;
  --paper:     #fbf7ec;
  --crema:     #d9a544;
  --crema-dark:#b9822f;
  --leaf:      #45573a;
  --leaf-light:#6b7d58;
  --ink:       #241511;
  --ink-soft:  rgba(36,21,17,0.68);
  --line:      rgba(36,21,17,0.14);
  --line-strong: rgba(36,21,17,0.28);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --radius-sm: 6px;
  --radius-md: 14px;
  --shadow-card: 0 10px 30px rgba(36,21,17,0.10);
  --shadow-card-hover: 0 16px 40px rgba(36,21,17,0.16);

  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--font-display); margin:0; color: var(--espresso); }
p{ margin:0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline: 2.5px solid var(--crema-dark);
  outline-offset: 3px;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--roast);
  margin: 0 0 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor:pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn-primary{
  background: var(--espresso);
  color: var(--parchment);
}
.btn-primary:hover{
  background: var(--roast);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.btn-ghost{
  background: transparent;
  border-color: var(--line-strong);
  color: var(--espresso);
}
.btn-ghost:hover{
  border-color: var(--espresso);
  transform: translateY(-2px);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,247,236,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:0.55rem;
}
.brand-mark{ color: var(--espresso); display:flex; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--espresso);
}
.main-nav{
  display:flex;
  align-items:center;
  gap: 2rem;
}
.main-nav a{
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position:relative;
  padding: 0.2rem 0;
}
.main-nav a:not(.nav-cta):hover{ color: var(--espresso); }
.main-nav a:not(.nav-cta)::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-3px;
  height:2px;
  background: var(--crema-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:not(.nav-cta):hover::after{ transform: scaleX(1); }
.nav-cta{
  background: var(--espresso);
  color: var(--parchment) !important;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover{ background: var(--roast); }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width: 38px; height: 38px;
  background:none;
  border:none;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px;
  background: var(--espresso);
  border-radius: 2px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5.5rem 1.5rem 6rem;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 3rem;
  overflow:hidden;
}
.hero-ring{
  position:absolute;
  border-radius:50%;
  border: 1.5px solid var(--roast);
  opacity: 0.16;
  pointer-events:none;
}
.hero-ring--1{ width: 420px; height:420px; top:-140px; right: -80px; }
.hero-ring--2{ width: 220px; height:220px; bottom:-60px; left: 4%; border-color: var(--leaf); opacity:0.14; }

.hero-inner{ max-width: 620px; position:relative; z-index:2; }
.hero-title{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.3rem;
}
.hero-title-italic{
  font-style: italic;
  font-weight: 500;
  color: var(--roast);
}
.hero-sub{
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 2.1rem;
}
.hero-actions{ display:flex; gap: 0.9rem; flex-wrap:wrap; }

.hero-steam{
  position: relative;
  height: 40px;
  margin-top: 2.5rem;
  display:flex;
  gap: 10px;
  opacity: 0.55;
}
.hero-steam span{
  width:3px;
  height: 30px;
  border-radius: 3px;
  background: linear-gradient(to top, transparent, var(--roast));
  animation: steam 3.2s ease-in-out infinite;
  transform-origin: bottom center;
}
.hero-steam span:nth-child(2){ animation-delay: 0.5s; }
.hero-steam span:nth-child(3){ animation-delay: 1s; }
@keyframes steam{
  0%{ transform: translateY(0) scaleY(1); opacity:0.2; }
  50%{ transform: translateY(-12px) scaleY(1.15); opacity:0.65; }
  100%{ transform: translateY(-24px) scaleY(0.9); opacity:0; }
}

.hero-ticket{
  position: relative;
  z-index:2;
  flex-shrink:0;
  width: 240px;
  background: var(--espresso);
  color: var(--parchment);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  transform: rotate(3deg);
}
.ticket-row{ display:flex; justify-content:space-between; padding: 0.3rem 0; }
.ticket-line{ border-top: 1px dashed rgba(244,236,216,0.35); margin: 0.5rem 0; }
.ticket-total{ font-weight:600; color: var(--crema); }

/* =========================================================
   VALUE STRIP
   ========================================================= */
.strip{
  background: var(--espresso);
  color: var(--parchment);
}
.strip-inner{
  max-width: var(--maxw);
  margin:0 auto;
  padding: 3.2rem 1.5rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.strip-item{ display:flex; gap: 1rem; align-items:flex-start; }
.strip-num{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--crema);
  border: 1px solid rgba(244,236,216,0.3);
  border-radius:50%;
  width: 32px; height:32px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.strip-item p{ font-size: 0.95rem; color: rgba(244,236,216,0.85); }

/* =========================================================
   SECTION HEAD (shared)
   ========================================================= */
.section-head{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5rem 1.5rem 2.5rem;
  text-align:center;
}
.section-head h2{
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
}
.section-sub{
  color: var(--ink-soft);
  margin-top: 0.7rem;
  font-size: 1rem;
}

/* =========================================================
   MENU
   ========================================================= */
.menu{ background: var(--parchment); }
.menu-tabs{
  max-width: 640px;
  margin: 0 auto;
  display:flex;
  justify-content:center;
  gap: 0.6rem;
  padding: 0 1.5rem 2.5rem;
  flex-wrap:wrap;
}
.tab-btn{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  cursor:pointer;
  transition: all 0.2s ease;
}
.tab-btn.is-active{
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--parchment);
}
.menu-panel{
  display:none;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem 5.5rem;
}
.menu-panel.is-active{ display:block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(8px); }
  to{ opacity:1; transform: translateY(0); }
}
.menu-list li{
  display:flex;
  align-items:baseline;
  gap: 0.6rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.m-name{
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--espresso);
  white-space:nowrap;
}
.m-dots{
  flex:1;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-4px);
}
.m-price{
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--roast);
}

/* =========================================================
   STORY
   ========================================================= */
.story{ background: var(--paper); }
.story-inner{
  max-width: var(--maxw);
  margin:0 auto;
  padding: 5.5rem 1.5rem;
  display:grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3.5rem;
  align-items:center;
}
.story-text h2{
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.story-text p{ color: var(--ink-soft); margin-bottom: 1rem; }
.story-stat-card{
  background: var(--leaf);
  color: var(--parchment);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display:flex;
  flex-direction:column;
  gap: 1.6rem;
}
.stat{ display:flex; flex-direction:column; }
.stat-num{
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--crema);
}
.stat-label{ font-size: 0.88rem; color: rgba(244,236,216,0.8); }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews{ background: var(--parchment-2); padding-bottom: 5.5rem; }
.review-grid{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.review-card{
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin:0;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.review-card p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--espresso);
  margin-bottom: 1rem;
}
.review-card cite{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--roast);
  font-style:normal;
}

/* =========================================================
   VISIT / CONTACT
   ========================================================= */
.visit{ background: var(--espresso); color: var(--parchment); }
.visit-inner{
  max-width: var(--maxw);
  margin:0 auto;
  padding: 5.5rem 1.5rem;
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}
.visit h2{ color: var(--parchment); font-size: clamp(1.8rem,3vw,2.3rem); margin-bottom: 1.6rem; }
.visit .eyebrow{ color: var(--crema); }
.info-list li{
  display:flex;
  flex-direction:column;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(244,236,216,0.16);
}
.info-list strong{ font-family: var(--font-mono); font-size: 0.78rem; text-transform:uppercase; letter-spacing:0.06em; color: var(--crema); }
.info-list span{ font-size: 1.02rem; }

.contact-form{
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 2.2rem;
}
.form-row{ margin-bottom: 1.1rem; display:flex; flex-direction:column; gap:0.4rem; }
.form-row label{ font-size: 0.85rem; font-weight:600; color: var(--espresso); }
.form-row input, .form-row textarea{
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--parchment);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus{
  border-color: var(--roast);
  background: var(--paper);
}
.form-status{
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  min-height: 1.2em;
}
.form-status.success{ color: var(--leaf); }
.form-status.error{ color: #a13a2c; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--espresso-2); color: rgba(244,236,216,0.75); }
.footer-inner{
  max-width: var(--maxw);
  margin:0 auto;
  padding: 2.6rem 1.5rem;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  font-size: 0.88rem;
}
.footer-brand{ font-family: var(--font-display); font-size: 1.1rem; color: var(--parchment); }
.footer-links{ display:flex; gap: 1.4rem; }
.footer-links a:hover{ color: var(--crema); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .story-inner, .visit-inner{ grid-template-columns: 1fr; }
  .review-grid{ grid-template-columns: 1fr 1fr; }
  .strip-inner{ grid-template-columns: 1fr; gap: 1.6rem; }
  .hero{ flex-direction:column; text-align:left; padding-top: 3rem; }
  .hero-ticket{ transform: rotate(1.5deg); }
}

@media (max-width: 720px){
  .main-nav{
    position:absolute;
    top: 100%; left:0; right:0;
    background: var(--paper);
    flex-direction:column;
    align-items:flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow:hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.is-open{ max-height: 320px; }
  .main-nav a{ width:100%; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after{ display:none; }
  .nav-cta{ border-radius:0; text-align:center; }
  .nav-toggle{ display:flex; }
  .review-grid{ grid-template-columns: 1fr; }
  .hero-ring--1{ width:260px; height:260px; }
}

@media (max-width: 480px){
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .m-name{ white-space:normal; }
}
