/* Corner & Kettle — neighbourhood coffee shop, one page.
   Palette: cream / espresso / burnt terracotta / warm gold. Stays warm throughout. */

:root {
  --cream: #f6ecdd;
  --cream-deep: #efdfc7;
  --espresso: #2b1c14;
  --espresso-soft: #4a3324;
  --terracotta: #c1502e;
  --terracotta-deep: #9c3d22;
  --gold: #c98a3a;
  --line: rgba(43, 28, 20, 0.14);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Fixed grain overlay for texture — never on scrolling content */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 0 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "eyebrow eyebrow"
    "title   art"
    "tagline art"
    "panel   art";
  column-gap: 32px;
}

.hero__eyebrow {
  grid-area: eyebrow;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--terracotta-deep);
  margin-bottom: 18px;
}

.hero__title {
  grid-area: title;
  font-family: var(--font-display);
  font-weight: 470;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 0.94;
  margin: 0;
  letter-spacing: -0.01em;
}

.hero__title span {
  display: block;
}

.hero__amp {
  font-style: italic;
  font-weight: 340;
  color: var(--terracotta);
  font-size: 0.7em;
  margin-left: 0.05em;
}

.hero__tagline {
  grid-area: tagline;
  max-width: 30ch;
  font-size: 1.08rem;
  color: var(--espresso-soft);
  margin: 22px 0 0;
}

.hero__art {
  grid-area: art;
  position: relative;
  align-self: start;
}

.art {
  width: 100%;
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 18px 30px rgba(43, 28, 20, 0.18));
}

.steam1 {
  animation: rise 4.5s ease-in-out infinite;
}
.steam2 {
  animation: rise 4.5s ease-in-out infinite 1.4s;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  25% {
    opacity: 0.6;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}

.hero__panel {
  grid-area: panel;
  align-self: end;
  margin-top: 30px;
  background: var(--espresso);
  color: var(--cream);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(43, 28, 20, 0.22);
}

.panel__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.panel__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.panel__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: normal;
  line-height: 1.35;
}

.panel__value--big {
  font-size: 1.4rem;
}

address {
  font-style: normal;
}

.panel__divider {
  height: 1px;
  background: rgba(246, 236, 221, 0.16);
}

/* ---------- Reveal-on-load animation ---------- */
.reveal {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--d, 0) * 0.09s);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .steam1,
  .steam2 {
    animation: none !important;
  }
}

/* ---------- Details (hours / address) ---------- */
.details {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0 0 22px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: var(--terracotta);
  margin-top: 12px;
  border-radius: 2px;
}

.hours,
.menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours li,
.menu__list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1rem;
}

.hours li:first-child,
.menu__list li:first-child {
  padding-top: 0;
}

.dots {
  flex: 1;
  border-bottom: 1px dotted rgba(43, 28, 20, 0.32);
  transform: translateY(-4px);
  min-width: 20px;
}

.hours li span:first-child {
  font-weight: 500;
  color: var(--espresso);
  white-space: nowrap;
}

.hours li span:last-child {
  color: var(--espresso-soft);
  white-space: nowrap;
}

.note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--espresso-soft);
  opacity: 0.85;
}

.address-block {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Menu ---------- */
.menu {
  padding: 64px 0 96px;
  border-top: 1px solid var(--line);
  position: relative;
}

.section-title--menu {
  text-align: center;
  margin: 0 auto 40px;
}

.section-title--menu::after {
  margin-left: auto;
  margin-right: auto;
}

.menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 880px;
  margin: 0 auto;
}

.menu__group-title {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--terracotta-deep);
  margin: 0 0 14px;
}

.menu__list li span:first-child {
  color: var(--espresso);
}

.menu__list li span:last-child {
  font-weight: 500;
  color: var(--terracotta-deep);
  white-space: nowrap;
}

.menu__list li {
  transition: background 0.2s ease, padding-left 0.2s ease;
  border-radius: 6px;
}

.menu__list li:hover {
  background: var(--cream-deep);
  padding-left: 8px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--espresso);
  color: var(--cream);
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
}

.footer__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "tagline"
      "art"
      "panel";
  }

  .hero__art {
    margin-top: 32px;
    max-width: 320px;
  }

  .hero__panel {
    margin-top: 24px;
    max-width: none;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .menu__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
