/* Indie Coffee Shop - Polish Łowicz Papercut Aesthetic */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #2d1810;
  background: #f8e9ca;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  padding: 2rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  background: #f8e9ca;
}

.flourish-left,
.flourish-right {
  flex-shrink: 0;
}

.brand {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d33235;
  text-align: center;
  font-family: Georgia, serif;
}

.menu-band {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
}

.menu-band.espresso {
  background: #d33235;
  color: #f8f6f4;
}

.menu-band.pourover {
  background: #ec6e24;
  color: #f8f6f4;
}

.menu-band.coldrinks {
  background: #f2c02d;
  color: #2d1810;
}

.menu-band.pastries {
  background: #f8e9ca;
  color: #2d1810;
}

.menu-content {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
  font-family: Georgia, serif;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  list-style: none;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.menu-item p {
  font-size: 0.95rem;
  opacity: 0.9;
  flex-grow: 1;
}

.menu-item .price {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}

.info {
  padding: 4rem 2rem;
  background: #f8e9ca;
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
}

.info h2 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #154c47;
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  font-family: Georgia, serif;
}

.hours dl {
  display: grid;
  gap: 1rem;
}

.hours dt {
  font-weight: 600;
  color: #2d1810;
}

.hours dd {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2d1810;
}

.location address {
  font-style: normal;
  line-height: 1.8;
  text-align: center;
}

.contact {
  padding: 4rem 2rem;
  background: #f8e9ca;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.contact-form {
  flex: 1;
  max-width: 600px;
}

.contact-form h2 {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #154c47;
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  font-family: Georgia, serif;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2d1810;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 3px solid #154c47;
  background: #f8e9ca;
  color: #2d1810;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d33235;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: #d33235;
  color: #f8f6f4;
  border: none;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.submit-btn:hover {
  background: #a81f1f;
}

.submit-btn:active {
  transform: translateY(1px);
}

.submit-btn:focus {
  outline: 3px solid #154c47;
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  
  .flourish-left,
  .flourish-right {
    width: 80px;
    height: 80px;
  }
  
  .brand {
    font-size: 3rem;
  }
  
  .menu-band {
    flex-direction: column;
    padding: 2rem 1rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact {
    flex-direction: column;
  }
  
  .info-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

::selection {
  background: #d33235;
  color: #f8f6f4;
}

:focus-visible {
  outline: 3px solid #154c47;
  outline-offset: 3px;
}

@media print {
  body {
    background: white;
  }
  
  .hero,
  .menu-band,
  .info,
  .contact {
    page-break-inside: avoid;
  }
  
  .submit-btn {
    display: none;
  }
  
  svg {
    display: none;
  }
}

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

@media (prefers-color-scheme: dark) {
  body {
    background: #1a1410;
    color: #e8dcc8;
  }

  .hero,
  .info,
  .contact {
    background: #1a1410;
  }

  .brand {
    color: #ee7a7c;
  }

  .menu-band.espresso {
    background: #a84244;
    color: #f8f6f4;
  }

  .menu-band.pourover {
    background: #c35f2a;
    color: #f8f6f4;
  }

  .menu-band.coldrinks {
    background: #c9a83b;
    color: #1a1410;
  }

  .menu-band.pastries {
    background: #2d2520;
    color: #e8dcc8;
  }

  .info h2,
  .contact-form h2 {
    color: #5a9892;
  }

  .hours dt,
  .hours dd,
  .form-group label {
    color: #e8dcc8;
  }

  .form-group input,
  .form-group textarea {
    background: #2d2520;
    color: #e8dcc8;
    border-color: #5a9892;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: #ee7a7c;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .submit-btn {
    background: #ee7a7c;
    color: #1a1410;
  }

  .submit-btn:hover {
    background: #f39a9b;
  }

  :focus-visible {
    outline-color: #5a9892;
  }
}
html { overflow-x: clip; }
@media (max-width: 480px) {
  /* --impeccable-mobile-pad */
  body { padding-inline: max(1rem, 16px); }
  .container, [class*="container"], section, header, footer, nav, main, article {
    padding-inline: max(1rem, 16px);
  }
}
/* --impeccable-measure */
p, li, dt, dd, blockquote, figcaption, td, th { max-width: min(75ch, 100%); }
