/* Северный Кофе — Scandinavian cozy design */

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

:root {
  --brown: #3d2914;
  --brown-light: #6b4c2a;
  --brown-muted: rgba(61, 41, 20, 0.55);
  --cream: #f5f0e8;
  --cream-dark: #ebe4d8;
  --sage: #7a8f6e;
  --sage-light: #a8b89e;
  --sage-dark: #5a6b50;
  --white: #fffcf7;
  --shadow: rgba(61, 41, 20, 0.1);
  --shadow-lg: rgba(61, 41, 20, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--brown);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

::selection {
  background: rgba(122, 143, 110, 0.35);
}

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.ambient__blob--1 {
  top: -10%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  background: var(--sage-light);
  animation: blobFloat 18s ease-in-out infinite;
}

.ambient__blob--2 {
  bottom: 10%;
  left: -8%;
  width: 35vw;
  height: 35vw;
  background: var(--cream-dark);
  animation: blobFloat 22s ease-in-out infinite reverse;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Typography */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.eyebrow--line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow--line::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brown);
}

.lead {
  font-size: 17px;
  color: var(--brown-light);
  max-width: 52ch;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--brown-light);
  font-size: 16px;
}

.section {
  padding: clamp(64px, 8vw, 100px) 0;
}

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

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

.section--brown h2,
.section--brown h3 {
  color: var(--cream);
}

.section--brown p {
  color: rgba(245, 240, 232, 0.82);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--brown {
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 8px 24px var(--shadow);
}

.btn--brown:hover {
  box-shadow: 0 12px 32px var(--shadow-lg);
}

.btn--sage {
  background: var(--sage);
  color: #fff;
}

.btn--sage:hover {
  background: var(--sage-dark);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid rgba(61, 41, 20, 0.2);
}

.btn--outline:hover {
  border-color: var(--brown);
  background: rgba(61, 41, 20, 0.04);
}

.btn--cream {
  background: var(--cream);
  color: var(--brown);
}

.btn--ghost {
  background: transparent;
  color: var(--brown-light);
  padding: 13px 18px;
}

.btn--ghost:hover {
  color: var(--brown);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 40px);
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(61, 41, 20, 0.06);
  transition: box-shadow 0.3s, background 0.3s;
}

.nav.is-scrolled {
  background: rgba(245, 240, 232, 0.96);
  box-shadow: 0 4px 24px var(--shadow);
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 26px);
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--brown-light);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--brown);
}

.nav__links a.is-active::after,
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav__cta {
  display: inline-flex;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 199;
  background: var(--cream);
  padding: 32px clamp(20px, 4vw, 40px);
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}

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

.nav__mobile a {
  font-family: var(--font-serif);
  font-size: 28px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(61, 41, 20, 0.08);
  color: var(--brown);
}

.nav__mobile .btn {
  margin-top: 16px;
  align-self: flex-start;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 clamp(48px, 6vw, 72px);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  margin: 16px 0 14px;
}

.page-hero p {
  color: var(--brown-light);
  font-size: 17px;
  max-width: 56ch;
  margin: 0 auto;
}

/* Home hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 4vw, 40px) 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(44px, 5.5vw, 72px);
  margin-bottom: 20px;
}

.hero__title em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero__sub {
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid rgba(61, 41, 20, 0.1);
}

.hero__stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--brown);
  line-height: 1.1;
}

.hero__stat span {
  font-size: 13px;
  color: var(--brown-light);
}

.hero__visual {
  position: relative;
}

.hero__img {
  border-radius: 50% 50% 24% 24% / 32% 32% 68% 68%;
  box-shadow: 0 40px 80px var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

.hero__steam {
  position: absolute;
  top: 8%;
  right: 15%;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%);
  animation: steam 3.5s ease-in-out infinite;
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  bottom: 8%;
  left: -5%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 16px 40px var(--shadow);
  border: 1px solid rgba(61, 41, 20, 0.06);
}

.hero__badge b {
  font-family: var(--font-serif);
  font-size: 24px;
  display: block;
  color: var(--sage-dark);
}

.hero__badge span {
  font-size: 12px;
  color: var(--brown-light);
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-muted);
  margin-top: 32px;
}

.scroll-hint__line {
  width: 40px;
  height: 1px;
  background: var(--sage-light);
  animation: scrollLine 2s ease-in-out infinite;
}

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

/* Location cards */
.loc {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(61, 41, 20, 0.07);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.loc:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px var(--shadow);
}

.loc__map {
  height: 140px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.loc__map--1 { background: linear-gradient(135deg, #8a9f7e, var(--sage)); }
.loc__map--2 { background: linear-gradient(135deg, #7a8f6e, #5a6b50); }
.loc__map--3 { background: linear-gradient(135deg, #a8b89e, var(--sage)); }
.loc__map--4 { background: linear-gradient(135deg, #6b4c2a, var(--brown)); }

.loc__body {
  padding: 20px 22px 22px;
}

.loc__body h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.loc__addr {
  font-size: 14px;
  color: var(--brown-light);
  margin-bottom: 10px;
}

.loc__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-dark);
}

.loc__tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(122, 143, 110, 0.12);
  color: var(--sage-dark);
}

/* Menu */
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.menu-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  border: 1.5px solid rgba(61, 41, 20, 0.15);
  color: var(--brown-light);
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-sans);
}

.menu-tab.is-active,
.menu-tab:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.menu-category {
  display: none;
}

.menu-category.is-active {
  display: block;
}

.menu-category__title {
  font-size: 28px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(61, 41, 20, 0.1);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  border: 1px solid rgba(61, 41, 20, 0.06);
  transition: box-shadow 0.3s;
}

.menu-item:hover {
  box-shadow: 0 8px 24px var(--shadow);
}

.menu-item__img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.menu-item__info {
  flex: 1;
  min-width: 0;
}

.menu-item__info h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.menu-item__info p {
  font-size: 13px;
  color: var(--brown-light);
}

.menu-item__price {
  font-weight: 700;
  font-size: 16px;
  color: var(--sage-dark);
  white-space: nowrap;
}

.menu-item__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(122, 143, 110, 0.15);
  color: var(--sage-dark);
  margin-left: 8px;
  vertical-align: middle;
}

/* Loyalty */
.loyalty-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.loyalty-card {
  background: linear-gradient(145deg, var(--sage), var(--sage-dark));
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  box-shadow: 0 32px 64px rgba(61, 41, 20, 0.25);
  position: relative;
  overflow: hidden;
}

.loyalty-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.loyalty-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.loyalty-card__brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}

.loyalty-card__tier {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.loyalty-card__qr {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
}

.loyalty-card__qr svg {
  width: 100%;
  height: 100%;
}

.loyalty-card__balance {
  text-align: center;
}

.loyalty-card__balance span {
  font-size: 13px;
  opacity: 0.85;
}

.loyalty-card__balance b {
  display: block;
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 1.1;
  margin: 4px 0;
}

.loyalty-card__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  opacity: 0.85;
}

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

.point-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid rgba(61, 41, 20, 0.06);
}

.point-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(122, 143, 110, 0.15);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.point-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.point-card p {
  font-size: 14px;
  color: var(--brown-light);
}

.tiers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tier {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  background: rgba(255, 252, 247, 0.06);
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid rgba(245, 240, 232, 0.1);
}

.tier__name {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--cream);
}

.tier__desc {
  font-size: 14px;
  color: rgba(245, 240, 232, 0.75);
}

.tier__bonus {
  font-weight: 700;
  font-size: 15px;
  color: var(--sage-light);
  white-space: nowrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--brown-light);
}

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

.about-split__img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 24px 56px var(--shadow);
}

.about-split h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  margin-bottom: 16px;
}

.about-split p {
  color: var(--brown-light);
  margin-bottom: 16px;
}

.about-split p:last-child {
  margin-bottom: 0;
}

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

.value {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(61, 41, 20, 0.06);
}

.value__num {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--sage);
  margin-bottom: 12px;
}

.value h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.value p {
  font-size: 14px;
  color: var(--brown-light);
}

.roast-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.roast-step {
  background: rgba(255, 252, 247, 0.05);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid rgba(245, 240, 232, 0.08);
}

.roast-step__temp {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--sage-light);
  margin-bottom: 8px;
}

.roast-step h3 {
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 6px;
}

.roast-step p {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.7);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-member {
  text-align: center;
}

.team-member__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  margin-bottom: 16px;
  background: var(--cream-dark);
}

.team-member h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-member span {
  font-size: 13px;
  color: var(--sage-dark);
  font-weight: 600;
}

.team-member p {
  font-size: 13px;
  color: var(--brown-light);
  margin-top: 8px;
}

/* Feature strip */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(61, 41, 20, 0.06);
  transition: transform 0.35s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
}

.feature__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  color: var(--brown-light);
}

.feature a {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sage-dark);
  border-bottom: 1px solid var(--sage-light);
  transition: color 0.2s;
}

.feature a:hover {
  color: var(--brown);
}

/* CTA banner */
.cta-banner {
  background: var(--brown);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  margin: 0 clamp(20px, 4vw, 40px);
  max-width: calc(1200px - 80px);
  margin-left: auto;
  margin-right: auto;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--cream);
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.footer {
  background: var(--brown);
  color: rgba(245, 240, 232, 0.75);
  padding: clamp(48px, 6vw, 72px) 0 32px;
  margin-top: clamp(48px, 6vw, 80px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(32px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer__brand .logo {
  color: var(--cream);
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 28ch;
}

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 14px;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--cream);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 240, 232, 0.12);
  font-size: 13px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 232, 0.2);
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s;
}

.footer__social a:hover {
  background: rgba(245, 240, 232, 0.1);
  border-color: rgba(245, 240, 232, 0.4);
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal-stagger].is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 160ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 320ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 400ms; }
[data-reveal-stagger].is-visible > *:nth-child(n+7) { opacity: 1; transform: none; transition-delay: 480ms; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes steam {
  0%, 100% { opacity: 0.3; transform: translateY(0) scale(1); }
  50% { opacity: 0.75; transform: translateY(-14px) scale(1.12); }
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.5); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

.hero-animate .eyebrow { animation: fadeUp 0.8s ease both; }
.hero-animate .hero__title { animation: fadeUp 0.8s 0.1s ease both; }
.hero-animate .hero__sub { animation: fadeUp 0.8s 0.2s ease both; }
.hero-animate .hero__actions { animation: fadeUp 0.8s 0.3s ease both; }
.hero-animate .hero__stats { animation: fadeUp 0.8s 0.4s ease both; }
.hero-animate .hero__visual { animation: fadeUp 0.8s 0.2s ease both; }

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

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

@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }

  .hero,
  .loyalty-hero,
  .about-split,
  .grid-3,
  .grid-2,
  .features,
  .values,
  .points-grid {
    grid-template-columns: 1fr;
  }

  .tier {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero__badge {
    left: auto;
    right: 0;
  }
}

@media (max-width: 600px) {
  .grid-4,
  .team-grid,
  .roast-steps,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }
}
