/* ---------------------------------------------------------------
   Craft floor.

   Everything below is byte-identical in every page that gets it
   right, so it ships here rather than being re-typed from the
   rules each time. Replace the :root values with the page's own
   palette; do not delete the rules that consume them.
   --------------------------------------------------------------- */

:root {
  --ink: #1A0E0A;
  --ink-muted: #5F5349;
  --bg: #FFFFFF;
  --surface: #F5F5F5;
  --rule: #D4C4B0;
  --accent: #A03D1F;
  --accent-ink: #FFFFFF;

  --measure: 60ch;

  scrollbar-color: var(--rule) transparent;
  caret-color: var(--accent);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F5EFE7;
    --ink-muted: #B8A898;
    --bg: #1A0E0A;
    --surface: #2D1F16;
    --rule: #4A3728;
    --accent: #E68B5F;
    --accent-ink: #1A0E0A;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

.num {
  font-variant-numeric: tabular-nums;
}

button,
[role="button"],
summary,
input[type="checkbox"],
input[type="radio"] {
  min-height: 44px;
}

button {
  min-width: 44px;
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

pre {
  overflow-x: auto;
}

table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}

@media (max-width: 480px) {
  body {
    padding-inline: 1rem;
  }
}

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

@media print {
  body {
    background: #fff;
    color: #000;
  }
}

/* ---------------------------------------------------------------
   Page Structure
   --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 2rem;
}

@media (max-width: 768px) {
  .container {
    padding-inline: 1.5rem;
  }
}

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */

.header {
  padding-block: 2rem;
  border-bottom: 1px solid var(--rule);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.shop-name {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease-out;
}

.nav-link:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .header {
    padding-block: 1.5rem;
  }

  .shop-name {
    font-size: 1.5rem;
  }

  .nav {
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 0.9375rem;
  }
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */

.hero {
  padding-block: 5rem 6rem;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero-text {
  margin: 0 0 2.5rem;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  position: absolute;
  top: 0;
  right: 10%;
  z-index: 2;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(193, 98, 60, 0.25);
}

.badge-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-image {
  width: 100%;
  max-width: 400px;
}

.coffee-illustration {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(26, 14, 10, 0.15));
}

@media (max-width: 1024px) {
  .hero {
    padding-block: 4rem 5rem;
  }

  .hero .container {
    gap: 3rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-text {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-block: 3rem 4rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1.0625rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-badge {
    right: 5%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  min-height: 48px;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 2px 8px rgba(193, 98, 60, 0.2);
}

.button-primary:hover {
  background: #8A3419;
  box-shadow: 0 4px 16px rgba(160, 61, 31, 0.3);
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--rule);
}

.button-secondary:hover {
  background: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.button-full {
  width: 100%;
}

/* ---------------------------------------------------------------
   Menu
   --------------------------------------------------------------- */

.menu {
  padding-block: 6rem;
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-subtitle {
  margin: 0;
  font-size: 1.25rem;
  color: var(--ink-muted);
}

.menu-category {
  margin-bottom: 5rem;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category-title {
  margin: 0 0 2.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

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

.menu-item {
  background: var(--bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--rule);
  transition: all 0.2s ease-out;
}

.menu-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(26, 14, 10, 0.08);
  transform: translateY(-2px);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.menu-item-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.menu-item-price {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.menu-item-description {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 768px) {
  .menu {
    padding-block: 4rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.125rem;
  }

  .menu-category {
    margin-bottom: 4rem;
  }

  .menu-category-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .menu-item {
    padding: 1.5rem;
  }
}

/* ---------------------------------------------------------------
   Hours
   --------------------------------------------------------------- */

.hours {
  padding-block: 6rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hours-content .section-title {
  text-align: left;
  margin-bottom: 3rem;
}

.hours-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.schedule {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-day {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.schedule-time {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-muted);
}

.address p {
  margin: 0;
}

.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease-out;
}

.link:hover {
  color: var(--ink);
}

.directions {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

.hours-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-marker {
  width: 100%;
  max-width: 300px;
}

.pin-icon {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(26, 14, 10, 0.15));
}

@media (max-width: 768px) {
  .hours {
    padding-block: 4rem;
  }

  .hours-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hours-content .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .hours-info {
    gap: 2.5rem;
  }

  .hours-visual {
    order: -1;
  }
}

/* ---------------------------------------------------------------
   Contact
   --------------------------------------------------------------- */

.contact {
  padding-block: 6rem;
  background: var(--surface);
}

.contact-wrapper {
  max-width: 800px;
  margin-inline: auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-intro .section-title {
  margin-bottom: 1rem;
}

.section-text {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 60ch;
  margin-inline: auto;
}

.contact-form {
  background: var(--bg);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--rule);
}

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

.form-group:last-of-type {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--rule);
  border-radius: 8px;
  transition: all 0.2s ease-out;
}

.form-input:hover,
.form-textarea:hover {
  border-color: var(--ink-muted);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 1px 4px rgba(193, 98, 60, 0.08);
}

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

@media (max-width: 768px) {
  .contact {
    padding-block: 4rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .section-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 1.5rem;
  }
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */

.footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--rule);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s ease-out;
}

.footer-link:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    gap: 1.5rem;
  }
}

@media print {
  .header,
  .footer,
  .button,
  .hero-actions,
  .contact-form {
    display: none;
  }

  .menu,
  .hours,
  .contact {
    background: #fff;
  }

  .menu-item {
    break-inside: avoid;
    border: 1px solid #ccc;
  }

  .section-title {
    break-after: avoid;
  }
}
@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%); }
