:root {
  --bg-main: #f6efe7;
  --bg-soft: #eadfd6;
  --text-main: #2b2422;
  --text-muted: #6b5d57;
  --accent: #d46b44;
  --accent-dark: #9f3d26;
  --surface: #fff8f2;
  --border: #ead2c8;
  --shadow: 0 18px 40px rgba(83, 44, 28, 0.12);
  --container: 1120px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% 8%, rgba(212, 107, 68, 0.16) 0%, rgba(212, 107, 68, 0) 38%),
    radial-gradient(circle at 85% 25%, rgba(255, 194, 155, 0.28) 0%, rgba(255, 194, 155, 0) 32%),
    linear-gradient(180deg, #fdf8f4 0%, var(--bg-main) 56%, #f1e4da 100%);
  line-height: 1.58;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1200;
  background: var(--accent);
  color: #2f2f2f;
  padding: 0.5rem 0.85rem;
  border-radius: 0.4rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 3.75rem 0;
}

h1,
h2,
h3,
.brand-text {
  font-family: "Syne", sans-serif;
  margin: 0 0 0.9rem;
  line-height: 1.2;
  color: #2c2422;
}

h1 {
  font-size: clamp(2.05rem, 8vw, 3.8rem);
}

h2 {
  font-size: clamp(1.65rem, 5.8vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent-dark);
}

.section-intro,
.note {
  color: var(--text-muted);
}

.note {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 246, 241, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.4rem;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.92);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  min-width: 2.55rem;
  min-height: 2rem;
  padding: 0.2rem 0.55rem;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.active {
  background: linear-gradient(140deg, #e69167 0%, var(--accent) 100%);
  color: #fff8f2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #f19b72 0%, var(--accent) 100%);
  color: #fff8f2;
}

.menu-toggle {
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #fff8f2;
  color: #4a3026;
  display: inline-grid;
  place-items: center;
}

.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff8f2;
  border-bottom: 1px solid var(--border);
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem 1rem 1rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-muted);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #4a2d22;
}

.main-nav.is-open {
  display: flex;
}

.nav-cta {
  width: fit-content;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #562e24 !important;
  padding: 0.52rem 0.95rem;
  background: rgba(212, 107, 68, 0.12);
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: end;
  position: relative;
  color: #fffaf0;
  border-bottom: 1px solid rgba(212, 107, 68, 0.28);
  background:
    linear-gradient(102deg, rgba(57, 30, 24, 0.82) 30%, rgba(57, 30, 24, 0.34) 100%),
    url("../img/envy-cafe-hero-01.jpg") center/cover no-repeat;
}

.hero-content {
  padding-bottom: 3.3rem;
}

.hero h1,
.hero .lead {
  color: #fff8e4;
}

.hero .eyebrow {
  color: #f4dfaa;
}

.hero-copy {
  max-width: 66ch;
  color: #f1e6ce;
}

.hero-rhythm,
.rhythm-strip {
  display: grid;
  gap: 0.85rem;
}

.hero-rhythm {
  margin-top: 1.45rem;
}

.hero-rhythm article,
.rhythm-strip article {
  border-radius: 1rem;
  padding: 1rem 1.05rem;
}

.hero-rhythm article {
  border: 1px solid rgba(255, 236, 191, 0.24);
  background: rgba(71, 56, 33, 0.4);
  backdrop-filter: blur(10px);
}

.hero-rhythm strong,
.rhythm-strip strong {
  display: block;
  margin-bottom: 0.32rem;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
}

.hero-rhythm strong {
  color: #fff0c2;
}

.hero-rhythm span {
  color: #f0e3c5;
}

.lead {
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 500;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  border-radius: 0.72rem;
  border: 1px solid transparent;
  padding: 0.72rem 1.16rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(140deg, #dec67c 0%, var(--accent) 100%);
  color: #3f3728;
}

.btn-outline {
  border-color: rgba(255, 244, 220, 0.85);
  color: #fff5d9;
}

.about .btn-outline,
.menu .btn-outline,
.specials .btn-outline,
.testimonials .btn-outline,
.contact .btn-outline {
  border-color: var(--accent);
  color: #3f3728;
}

.hero-details,
.contact-list,
.footer-links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-details,
.contact-list {
  display: grid;
  gap: 0.55rem;
}

.hero-details i,
.contact-list i {
  color: var(--accent);
  margin-right: 0.45rem;
}

.split-grid,
.contact-grid {
  display: grid;
  gap: 1.2rem;
}

.about,
.gallery,
.contact {
  position: relative;
}

.about::before,
.gallery::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(201, 169, 98, 0.08), transparent 42%);
}

.image-card,
.menu-card,
.testimonial-card,
.hours-table,
.map-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-card {
  overflow: hidden;
}

.image-card figcaption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.75rem 0.85rem;
}

.menu {
  background: linear-gradient(180deg, rgba(245, 236, 214, 0.68) 0%, rgba(248, 241, 227, 0.55) 100%);
}

.menu-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.menu-card,
.testimonial-card {
  padding: 1.2rem;
  min-height: 100%;
}

.menu-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-card i {
  color: var(--accent-dark);
}

.price {
  font-family: "Montserrat", sans-serif;
  color: #574b36;
  font-weight: 700;
}

.rhythm-strip {
  margin-top: 1.3rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: var(--shadow);
}

.rhythm-strip article {
  background: rgba(201, 169, 98, 0.08);
}

.gallery-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery-grid img {
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  box-shadow: var(--shadow);
}

.testimonials {
  background: linear-gradient(180deg, rgba(247, 239, 222, 0.82) 0%, rgba(250, 244, 230, 0.95) 100%);
}

.testimonial-card {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(201, 169, 98, 0.08) 0%, rgba(255, 250, 240, 0.9) 34%),
    var(--surface);
}

.testimonial-card p {
  font-style: italic;
}

.testimonial-card cite {
  display: inline-block;
  margin-top: 0.4rem;
  font-style: normal;
  font-weight: 600;
  color: #655843;
}

.hours-table {
  margin-top: 1rem;
  overflow: hidden;
}

.hours-table div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.hours-table div:last-child {
  border-bottom: 0;
}

.hours-table strong {
  white-space: nowrap;
}

.map-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.map-note {
  margin: 0;
  padding: 1rem 1rem 0.35rem;
  font-size: 0.94rem;
}

.map-trigger {
  margin: 0 1rem 1rem;
  align-self: flex-start;
}

.site-footer {
  background: #473b2b;
  color: #f3ead7;
  padding-bottom: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: #f8edd5;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: #f3e1b8;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff4d6;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 244, 220, 0.2);
  font-size: 0.9rem;
  color: #dfd2ba;
}

@media (min-width: 720px) {
  .hero-rhythm,
  .rhythm-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border-bottom: 0;
    padding: 0;
  }

  .split-grid,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.8fr 0.8fr;
    align-items: start;
  }

  .section {
    padding: 4.75rem 0;
  }
}
