@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

:root {
  --kh-espresso: #3C2415;
  --kh-espresso-dark: #2A180E;
  --kh-cream: #F7F1E6;
  --kh-caramel: #C48A3A;
  --kh-caramel-dark: #A6722E;
  --kh-white: #FFFFFF;
  --kh-gray: #6B5E52;
  --kh-gray-light: #E5DDD0;
  --kh-font-heading: 'Fraunces', serif;
  --kh-font-body: 'DM Sans', sans-serif;
  --kh-radius: 12px;
  --kh-radius-lg: 20px;
  --kh-shadow: 0 4px 24px rgba(60, 36, 21, 0.08);
  --kh-shadow-lg: 0 8px 40px rgba(60, 36, 21, 0.12);
  --kh-transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--kh-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--kh-espresso);
  background: var(--kh-cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--kh-caramel);
  text-decoration: none;
  transition: color var(--kh-transition);
}

a:hover {
  color: var(--kh-caramel-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--kh-font-heading);
  font-weight: 600;
  line-height: 1.25;
}

.kh-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.kh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--kh-cream);
  border-bottom: 1px solid var(--kh-gray-light);
}

.kh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.kh-logo {
  font-family: var(--kh-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--kh-espresso);
  letter-spacing: -0.02em;
}

.kh-logo span {
  color: var(--kh-caramel);
}

.kh-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.kh-nav a {
  font-weight: 500;
  color: var(--kh-espresso);
  font-size: 0.95rem;
}

.kh-nav a:hover,
.kh-nav a.kh-nav--active {
  color: var(--kh-caramel);
}

.kh-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--kh-espresso);
  padding: 4px;
}

/* Hero — Centered Minimalism */
.kh-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--kh-cream);
  overflow: hidden;
}

.kh-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}

.kh-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kh-hero__content {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
  max-width: 720px;
}

.kh-hero__badge {
  display: inline-block;
  background: var(--kh-espresso);
  color: var(--kh-cream);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kh-hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--kh-espresso);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.kh-hero__tagline {
  font-family: var(--kh-font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--kh-caramel);
  margin-bottom: 24px;
}

.kh-hero__text {
  font-size: 1.1rem;
  color: var(--kh-gray);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.kh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--kh-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--kh-transition);
  text-decoration: none;
}

.kh-btn--primary {
  background: var(--kh-espresso);
  color: var(--kh-cream);
}

.kh-btn--primary:hover {
  background: var(--kh-espresso-dark);
  color: var(--kh-cream);
  transform: translateY(-2px);
  box-shadow: var(--kh-shadow-lg);
}

.kh-btn--secondary {
  background: var(--kh-caramel);
  color: var(--kh-cream);
}

.kh-btn--secondary:hover {
  background: var(--kh-caramel-dark);
  color: var(--kh-cream);
  transform: translateY(-2px);
}

.kh-btn--outline {
  background: transparent;
  color: var(--kh-espresso);
  border: 2px solid var(--kh-espresso);
}

.kh-btn--outline:hover {
  background: var(--kh-espresso);
  color: var(--kh-cream);
}

.kh-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sections */
.kh-section {
  padding: 80px 0;
}

.kh-section--alt {
  background: var(--kh-white);
}

.kh-section--dark {
  background: var(--kh-espresso);
  color: var(--kh-cream);
}

.kh-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.kh-section__label {
  display: inline-block;
  color: var(--kh-caramel);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.kh-section__header h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--kh-espresso);
}

.kh-section--dark .kh-section__header h2 {
  color: var(--kh-cream);
}

.kh-section__header p {
  color: var(--kh-gray);
  font-size: 1.05rem;
}

.kh-section--dark .kh-section__header p {
  color: rgba(247, 241, 230, 0.75);
}

/* Features */
.kh-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.kh-feature {
  background: var(--kh-white);
  padding: 36px 28px;
  border-radius: var(--kh-radius-lg);
  box-shadow: var(--kh-shadow);
  text-align: center;
  transition: transform var(--kh-transition);
  border: 1px solid var(--kh-gray-light);
}

.kh-feature:hover {
  transform: translateY(-4px);
}

.kh-feature__icon {
  width: 56px;
  height: 56px;
  background: var(--kh-caramel);
  color: var(--kh-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
}

.kh-feature h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.kh-feature p {
  color: var(--kh-gray);
  font-size: 0.95rem;
}

/* Steps */
.kh-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.kh-step {
  text-align: center;
}

.kh-step__num {
  width: 48px;
  height: 48px;
  background: var(--kh-caramel);
  color: var(--kh-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--kh-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.kh-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.kh-step p {
  color: var(--kh-gray);
  font-size: 0.95rem;
}

/* Stats */
.kh-stats {
  background: var(--kh-espresso);
  padding: 60px 0;
}

.kh-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.kh-stat__num {
  font-family: var(--kh-font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--kh-caramel);
  line-height: 1;
  margin-bottom: 8px;
}

.kh-stat__label {
  color: rgba(247, 241, 230, 0.8);
  font-size: 0.95rem;
}

/* CTA */
.kh-cta {
  position: relative;
  border-radius: var(--kh-radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.kh-cta__bg {
  position: absolute;
  inset: 0;
}

.kh-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kh-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(60, 36, 21, 0.92) 0%, rgba(60, 36, 21, 0.55) 100%);
}

.kh-cta__content {
  position: relative;
  z-index: 2;
  padding: 60px;
  max-width: 560px;
}

.kh-cta__content h2 {
  font-size: 2rem;
  color: var(--kh-cream);
  margin-bottom: 16px;
}

.kh-cta__content p {
  color: rgba(247, 241, 230, 0.85);
  margin-bottom: 28px;
}

/* Page Hero */
.kh-page-hero {
  background: var(--kh-espresso);
  padding: 60px 0;
  text-align: center;
}

.kh-page-hero h1 {
  font-size: 2.4rem;
  color: var(--kh-cream);
  margin-bottom: 12px;
}

.kh-page-hero p {
  color: rgba(247, 241, 230, 0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* About */
.kh-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.kh-about-grid img {
  border-radius: var(--kh-radius-lg);
  box-shadow: var(--kh-shadow-lg);
}

.kh-about-grid h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.kh-about-grid p {
  color: var(--kh-gray);
  margin-bottom: 16px;
}

.kh-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.kh-value {
  padding: 20px;
  background: var(--kh-cream);
  border-radius: var(--kh-radius);
  border-left: 4px solid var(--kh-caramel);
}

.kh-value h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.kh-value p {
  font-size: 0.9rem;
  color: var(--kh-gray);
  margin: 0;
}

/* Menu / Roast Cards */
.kh-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.kh-card {
  background: var(--kh-white);
  border-radius: var(--kh-radius-lg);
  overflow: hidden;
  box-shadow: var(--kh-shadow);
  transition: transform var(--kh-transition);
  border: 1px solid var(--kh-gray-light);
}

.kh-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--kh-shadow-lg);
}

.kh-card__img {
  height: 220px;
  overflow: hidden;
}

.kh-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kh-card:hover .kh-card__img img {
  transform: scale(1.05);
}

.kh-card__body {
  padding: 24px;
}

.kh-card__tag {
  display: inline-block;
  background: var(--kh-caramel);
  color: var(--kh-cream);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.kh-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.kh-card p {
  color: var(--kh-gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.kh-card__price {
  font-family: var(--kh-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--kh-caramel);
}

/* Menu List */
.kh-menu-list {
  max-width: 800px;
  margin: 0 auto;
}

.kh-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px dashed var(--kh-gray-light);
  gap: 24px;
}

.kh-menu-item:last-child {
  border-bottom: none;
}

.kh-menu-item__info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.kh-menu-item__info p {
  color: var(--kh-gray);
  font-size: 0.9rem;
}

.kh-menu-item__price {
  font-family: var(--kh-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--kh-caramel);
  white-space: nowrap;
}

/* Roast Process */
.kh-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.kh-process-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--kh-white);
  border-radius: var(--kh-radius-lg);
  border: 1px solid var(--kh-gray-light);
}

.kh-process-card__img {
  height: 180px;
  border-radius: var(--kh-radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.kh-process-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kh-process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.kh-process-card p {
  color: var(--kh-gray);
  font-size: 0.9rem;
}

/* Contact */
.kh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.kh-form {
  background: var(--kh-white);
  padding: 36px;
  border-radius: var(--kh-radius-lg);
  box-shadow: var(--kh-shadow);
  border: 1px solid var(--kh-gray-light);
}

.kh-form h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.kh-form__group {
  margin-bottom: 20px;
}

.kh-form__group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.kh-form__group input,
.kh-form__group textarea,
.kh-form__group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--kh-gray-light);
  border-radius: var(--kh-radius);
  font-family: var(--kh-font-body);
  font-size: 1rem;
  background: var(--kh-cream);
  transition: border-color var(--kh-transition);
}

.kh-form__group input:focus,
.kh-form__group textarea:focus,
.kh-form__group select:focus {
  outline: none;
  border-color: var(--kh-caramel);
}

.kh-form__group textarea {
  min-height: 140px;
  resize: vertical;
}

.kh-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kh-contact-card {
  background: var(--kh-white);
  padding: 28px;
  border-radius: var(--kh-radius-lg);
  box-shadow: var(--kh-shadow);
  border: 1px solid var(--kh-gray-light);
}

.kh-contact-card__icon {
  width: 48px;
  height: 48px;
  background: var(--kh-espresso);
  color: var(--kh-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.kh-contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.kh-contact-card p,
.kh-contact-card a {
  color: var(--kh-gray);
  font-size: 0.95rem;
}

.kh-hours {
  list-style: none;
}

.kh-hours li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--kh-gray-light);
  font-size: 0.95rem;
}

.kh-hours li:last-child {
  border-bottom: none;
}

/* Privacy */
.kh-privacy {
  max-width: 800px;
  margin: 0 auto;
}

.kh-privacy h2 {
  font-size: 1.5rem;
  margin: 36px 0 16px;
  color: var(--kh-espresso);
}

.kh-privacy h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
}

.kh-privacy p {
  color: var(--kh-gray);
  margin-bottom: 16px;
}

.kh-privacy ul {
  margin: 0 0 16px 24px;
  color: var(--kh-gray);
}

.kh-privacy ul li {
  margin-bottom: 8px;
}

.kh-privacy__updated {
  background: var(--kh-white);
  padding: 16px 24px;
  border-radius: var(--kh-radius);
  border-left: 4px solid var(--kh-caramel);
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--kh-gray);
}

/* Footer */
.kh-footer {
  background: var(--kh-espresso);
  color: rgba(247, 241, 230, 0.8);
  padding: 60px 0 0;
}

.kh-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.kh-footer__brand {
  font-family: var(--kh-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--kh-cream);
  margin-bottom: 16px;
}

.kh-footer__brand span {
  color: var(--kh-caramel);
}

.kh-footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.kh-footer h4 {
  font-size: 1rem;
  color: var(--kh-cream);
  margin-bottom: 20px;
}

.kh-footer__links {
  list-style: none;
}

.kh-footer__links li {
  margin-bottom: 10px;
}

.kh-footer__links a {
  color: rgba(247, 241, 230, 0.7);
  font-size: 0.9rem;
}

.kh-footer__links a:hover {
  color: var(--kh-caramel);
}

.kh-footer__bottom {
  border-top: 1px solid rgba(247, 241, 230, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(247, 241, 230, 0.5);
}

/* Cookie Banner — Bottom Pill */
.kh-cookie {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1000;
  display: none;
  max-width: 680px;
  width: calc(100% - 48px);
  background: var(--kh-espresso);
  color: var(--kh-cream);
  padding: 16px 24px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(60, 36, 21, 0.3);
  transition: transform 0.4s ease;
}

.kh-cookie.kh-cookie--show {
  display: block;
  transform: translateX(-50%) translateY(0);
}

.kh-cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.kh-cookie__text {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.5;
  min-width: 200px;
}

.kh-cookie__text a {
  color: var(--kh-caramel);
  text-decoration: underline;
}

.kh-cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.kh-cookie__btn {
  padding: 8px 20px;
  border: none;
  border-radius: 50px;
  font-family: var(--kh-font-body);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--kh-transition);
}

.kh-cookie__btn--accept {
  background: var(--kh-caramel);
  color: var(--kh-cream);
}

.kh-cookie__btn--accept:hover {
  background: var(--kh-caramel-dark);
}

.kh-cookie__btn--decline {
  background: transparent;
  color: var(--kh-cream);
  border: 1px solid rgba(247, 241, 230, 0.3);
}

.kh-cookie__btn--decline:hover {
  border-color: var(--kh-cream);
}

/* Responsive 900px */
@media (max-width: 900px) {
  .kh-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--kh-cream);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--kh-shadow);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--kh-transition);
    pointer-events: none;
    border-bottom: 1px solid var(--kh-gray-light);
  }

  .kh-nav.kh-nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .kh-burger {
    display: block;
  }

  .kh-hero h1 {
    font-size: 3.2rem;
  }

  .kh-features,
  .kh-steps,
  .kh-card-grid,
  .kh-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .kh-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kh-about-grid,
  .kh-contact-grid {
    grid-template-columns: 1fr;
  }

  .kh-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive 560px */
@media (max-width: 560px) {
  .kh-container {
    padding: 0 16px;
  }

  .kh-hero {
    min-height: 480px;
  }

  .kh-hero h1 {
    font-size: 2.6rem;
  }

  .kh-hero__content {
    padding: 72px 16px;
  }

  .kh-section {
    padding: 56px 0;
  }

  .kh-section__header h2 {
    font-size: 1.7rem;
  }

  .kh-features,
  .kh-steps,
  .kh-card-grid,
  .kh-stats__grid,
  .kh-footer__grid,
  .kh-process {
    grid-template-columns: 1fr;
  }

  .kh-values {
    grid-template-columns: 1fr;
  }

  .kh-cta__content {
    padding: 36px 24px;
  }

  .kh-cta__content h2 {
    font-size: 1.5rem;
  }

  .kh-form {
    padding: 24px;
  }

  .kh-page-hero h1 {
    font-size: 1.8rem;
  }

  .kh-cookie {
    border-radius: 24px;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 16px 20px;
  }

  .kh-cookie__inner {
    flex-direction: column;
    text-align: center;
  }

  .kh-hero__actions {
    flex-direction: column;
  }

  .kh-btn {
    width: 100%;
    justify-content: center;
  }

  .kh-menu-item {
    flex-direction: column;
    gap: 8px;
  }
}
