/* =========================================================
   The Cozy Cup — Global Stylesheet
   Palette, typography, layout, components, responsive rules
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ivory: #f7eee5;
  --cream: #f1e3d6;
  --coffee: #75462f;
  --espresso: #302019;
  --caramel: #c69a73;
  --latte: #e4cdba;
  --white: #ffffff;

  --coffee-dark: #5f3723;
  --coffee-soft: #8a5a3f;
  --line: rgba(117, 70, 47, 0.16);
  --line-strong: rgba(117, 70, 47, 0.28);

  --text: #3a2b23;
  --text-muted: #7a6459;

  --shadow-sm: 0 6px 18px rgba(48, 32, 25, 0.06);
  --shadow-md: 0 14px 36px rgba(48, 32, 25, 0.1);
  --shadow-lg: 0 26px 60px rgba(48, 32, 25, 0.16);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: 24px;

  --font-head: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--ivory);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--coffee);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--coffee-dark);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--espresso);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: 0.2px;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--caramel);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  background: var(--espresso);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 999;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: clamp(56px, 8vw, 110px) 0;
}

.section--cream {
  background: var(--cream);
}

.section--ivory {
  background: var(--ivory);
}

.section--latte {
  background: linear-gradient(180deg, var(--ivory), var(--cream));
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.section-head p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coffee);
  font-weight: 600;
  margin-bottom: 10px;
}

.script {
  font-family: var(--font-script);
  color: var(--coffee);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Decorative divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px auto 22px;
  color: var(--caramel);
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: 54px;
  background: var(--line-strong);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--latte);
  color: var(--coffee);
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 760px;
  margin-inline: auto;
}

.legal h2 {
  margin: 40px 0 12px;
}

.legal h3 {
  margin: 28px 0 8px;
  font-size: 1.05rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
  line-height: 1.75;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal a {
  color: var(--coffee);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .legal__updated {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  line-height: 1;
  text-align: center;
}

.btn--primary {
  background: var(--coffee);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(117, 70, 47, 0.24);
}

.btn--primary:hover {
  background: var(--espresso);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(48, 32, 25, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--coffee);
  border-color: var(--coffee);
}

.btn--outline:hover {
  background: var(--coffee);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--coffee);
}

.btn--light:hover {
  background: var(--cream);
  color: var(--espresso);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 0.74rem;
}

.btn--block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coffee);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.text-link:hover {
  color: var(--espresso);
  gap: 10px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.topbar {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--coffee);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding-block: 6px;
}

.topbar__tagline {
  margin: 0;
  font-style: italic;
  letter-spacing: 0.03em;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar__hours svg {
  width: 15px;
  height: 15px;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}

.topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--coffee);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.topbar__social a:hover {
  background: var(--coffee);
  color: var(--white);
}

.topbar__social svg {
  width: 15px;
  height: 15px;
}

.navbar {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--espresso);
}

.brand__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--coffee);
  margin-top: 4px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--espresso);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--coffee);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--espresso);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0;
  text-align: center;
  color: var(--white);
  background: var(--espresso);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 32, 25, 0.55), rgba(48, 32, 25, 0.75));
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 8px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* =========================================================
   Hero (home)
   ========================================================= */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      ellipse at center,
      rgba(48, 32, 25, 0.28) 0%,
      rgba(48, 32, 25, 0.62) 100%
    ),
    linear-gradient(180deg, rgba(48, 32, 25, 0.35), rgba(48, 32, 25, 0.55));
}

.hero__content {
  padding: 90px 24px;
  max-width: 820px;
}

.hero__welcome {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: #f6e4d3;
  margin-bottom: 6px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero__scroll svg {
  width: 20px;
  height: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* =========================================================
   Cards
   ========================================================= */
.grid {
  display: grid;
  gap: 28px;
}

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.card__title {
  font-size: 1.35rem;
  margin: 0;
}

.card__title a {
  color: var(--espresso);
  text-decoration: none;
}

.card__title a:hover {
  color: var(--coffee);
}

.card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

.card__footer {
  margin-top: auto;
}

/* ---------- Menu / product cards ---------- */
.product {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product:hover .product__media img {
  transform: scale(1.07);
}

.product__name {
  font-size: 1.12rem;
  margin: 0 0 4px;
}

.product__price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--coffee);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.product__note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 6px 0 0;
}

/* ---------- Visit section ---------- */
.visit {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.visit__text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 6px;
}

.visit .divider {
  justify-content: flex-start;
  margin: 16px 0 20px;
}

.visit__text p {
  color: var(--text-muted);
  max-width: 440px;
}

.visit__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.visit__gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
}

.visit__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.visit__gallery figure:hover img {
  transform: scale(1.07);
}

/* =========================================================
   About page
   ========================================================= */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.about-story__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.about-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story--reverse .about-story__media {
  order: 2;
}

.about-story h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.about-story p {
  color: var(--text-muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.stat {
  text-align: center;
  padding: 18px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat__num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--coffee);
  display: block;
}

.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.values .grid {
  margin-top: 8px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* =========================================================
   Menu page
   ========================================================= */
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 46px;
}

.menu-nav a {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coffee);
  background: var(--white);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.menu-nav a:hover {
  background: var(--coffee);
  color: var(--white);
}

.menu-block {
  margin-bottom: clamp(48px, 7vw, 80px);
}

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

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 48px;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line-strong);
}

.menu-item__info {
  flex: 1;
}

.menu-item__name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--espresso);
  margin: 0;
}

.menu-item__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 2px 0 0;
}

.menu-item__price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--coffee);
  white-space: nowrap;
}

.menu-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--latte);
  color: var(--coffee-dark);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 700;
}

/* =========================================================
   Gallery page
   ========================================================= */
.gallery-grid {
  columns: 3;
  column-gap: 18px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.6s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 32, 25, 0) 55%, rgba(48, 32, 25, 0.55));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 12px;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 2;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(92vw, 1000px);
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__close svg {
  width: 22px;
  height: 22px;
}

/* =========================================================
   Blog page
   ========================================================= */
.post__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .post__media img {
  transform: scale(1.06);
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coffee);
  font-weight: 600;
}

.post__meta span.dot {
  color: var(--caramel);
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--latte);
  color: var(--coffee);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin: 0 0 3px;
}

.contact-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  color: var(--espresso);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--coffee);
  box-shadow: 0 0 0 3px rgba(198, 154, 115, 0.35);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 14px 0 0;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-success {
  background: rgba(76, 132, 84, 0.12);
  color: #2f6b39;
  border: 1px solid rgba(76, 132, 84, 0.3);
}

.form-message.is-error {
  background: rgba(176, 68, 46, 0.1);
  color: #a33a25;
  border: 1px solid rgba(176, 68, 46, 0.28);
}

.map-frame {
  border: 0;
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}

.map-card {
  margin-top: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
}

/* =========================================================
   Order page
   ========================================================= */
.order-grid {
  margin-top: 8px;
}

.order-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.order-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.order-card__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--latte);
  color: var(--coffee);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.order-card__icon svg {
  width: 30px;
  height: 30px;
}

.order-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.order-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 20px;
}

.order-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.order-step {
  position: relative;
  padding-left: 0;
  text-align: center;
}

.order-step__num {
  counter-increment: step;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--coffee);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.order-step__num::before {
  content: counter(step);
}

.order-step h3 {
  font-size: 1.1rem;
}

.order-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.order-panel {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(32px, 6vw, 64px);
}

.order-panel .icon-badge {
  margin-inline: auto;
}

.order-panel h2 {
  margin-bottom: 12px;
}

.order-panel p {
  color: var(--text-muted);
  max-width: 460px;
  margin-inline: auto;
}

.order-panel .hero__actions {
  margin-top: 24px;
}

.order-panel__note {
  font-size: 0.85rem;
}

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(198, 154, 115, 0.18);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 40px;
  font-size: 0.92rem;
  color: var(--coffee-dark);
}

.notice svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.notice p {
  margin: 0;
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  position: relative;
  color: var(--white);
  text-align: center;
  background: var(--espresso);
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 32, 25, 0.6), rgba(48, 32, 25, 0.8));
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}

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

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  padding: clamp(46px, 6vw, 72px) 0;
}

.newsletter__col h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.newsletter__col p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.newsletter__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.newsletter__brand svg {
  width: 42px;
  height: 42px;
}

.subscribe {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.subscribe input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
}

.subscribe input:focus {
  outline: none;
  border-color: var(--coffee);
  box-shadow: 0 0 0 3px rgba(198, 154, 115, 0.35);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--coffee);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.social-links a:hover {
  background: var(--coffee);
  color: var(--white);
  transform: translateY(-3px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--coffee);
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .visit {
    grid-template-columns: 1fr;
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story--reverse .about-story__media {
    order: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .newsletter {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter__brand-col {
    grid-column: 1 / -1;
  }

  .order-steps {
    grid-template-columns: 1fr;
  }

  /* Mobile navigation */
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--ivory);
    padding: 96px 28px 32px;
    box-shadow: -20px 0 50px rgba(48, 32, 25, 0.18);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 120;
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav__link {
    display: block;
    padding: 15px 8px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__link::after {
    display: none;
  }

  .nav__link.is-active {
    color: var(--coffee);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(48, 32, 25, 0.45);
    z-index: 110;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  .topbar__tagline {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__social {
    border-left: 0;
    padding-left: 0;
  }

  .navbar__inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand__name {
    font-size: 1.28rem;
  }

  .grid--3,
  .grid--4,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .menu-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .visit__gallery {
    gap: 10px;
  }

  .nav-order {
    display: none;
  }

  .subscribe {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .gallery-grid {
    columns: 2;
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 78vh;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .gallery-grid {
    columns: 1;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .hero__scroll,
  .nav-toggle {
    display: none;
  }
}
