.ah-global-skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1200;
  padding: 0.5rem 0.85rem;
  border-radius: var(--ah-radius-sm);
  background: #201912;
  color: #f8f3ea;
  text-decoration: none;
  box-shadow: var(--ah-shadow-md);
}

.ah-global-skip-link:focus {
  top: 0.8rem;
  outline: 3px solid rgba(193, 92, 61, 0.5);
  outline-offset: 2px;
}

.ah-navbar {
  background-color: rgba(243, 238, 228, 0.98);
  border-bottom: 1px solid rgba(31, 24, 19, 0.14);
  position: sticky;
  top: 0;
  z-index: 1040;
  backdrop-filter: saturate(110%) blur(3px);
}

.ah-navbar .container-fluid {
  padding-right: 0.9rem !important;
}

.ah-brand {
  width: var(--ah-brand-width);
  min-height: var(--ah-brand-min-height);
  background: #ebe2d4;
  border-right: 1px solid rgba(31, 24, 19, 0.14);
  text-decoration: none;
}

.ah-brand-logo {
  width: 72px;
  height: 56px;
  object-fit: contain;
}

.ah-brand-text {
  font-size: var(--ah-text-xs);
  line-height: 1.5;
  letter-spacing: var(--ah-letter-wide);
  text-transform: uppercase;
  color: #1f1813;
}

.ah-nav-link {
  font-size: var(--ah-text-xs);
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--ah-letter-wider);
  text-transform: uppercase;
  color: #1f1813;
}

.ah-nav-link:hover {
  color: #a55232;
}

.ah-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(31, 24, 19, 0.14);
  border-radius: 0.3rem;
  background: #fcfaf6;
}

.ah-navbar .d-flex.align-items-center.gap-4 {
  gap: 0.75rem !important;
  padding-right: 0.25rem;
}

.ah-nav-icon img {
  filter: none;
  width: 1.15rem !important;
  height: 1.15rem !important;
}

.ah-navbar-toggler {
  border: 1px solid rgba(31, 24, 19, 0.24);
  border-radius: 0.3rem;
  padding: 0.45rem;
  background: #fcfaf6;
}

.ah-navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(165, 82, 50, 0.2);
}

.ah-navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(32,25,18,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.2rem;
  height: 1.2rem;
}

.ah-navbar .navbar-collapse {
  background-color: transparent;
}

.ah-footer {
  background-color: #201912 !important;
  color: #f4eee4 !important;
}

.ah-footer-title {
  font-size: clamp(2rem, 3vw, 2.25rem);
  text-align: center;
}

.ah-footer-links li + li {
  margin-top: 0.4rem;
}

.ah-footer a,
.ah-footer .text-overline,
.ah-footer-title,
.ah-footer-policy {
  color: #f4eee4 !important;
}

.ah-footer-policy:hover {
  text-decoration: underline;
  color: #f4eee4 !important;
}

.ah-footer .btn-outline-primary {
  color: #f4eee4;
  border-color: rgba(244, 238, 228, 0.7);
}

.ah-footer .btn-outline-primary:hover,
.ah-footer .btn-outline-primary:focus-visible {
  background-color: rgba(244, 238, 228, 0.12);
  color: #f4eee4;
  border-color: #f4eee4;
}

.ah-footer-copy {
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 42ch;
}

.ah-newsletter {
  width: 100%;
  max-width: 34rem;
  margin: 0;
}

.ah-newsletter-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ah-oat);
  border-radius: 0;
  background-color: transparent;
  color: var(--ah-oat);
  padding-left: 0;
  padding-right: 0;
}

.ah-newsletter-input:focus {
  box-shadow: none;
  border-color: var(--ah-steamed);
  background-color: transparent;
  color: var(--ah-oat);
}

.ah-footer-bottom {
  border-top: 1px solid rgba(246, 244, 237, 0.22);
  padding: 0.9rem 0;
}

.ah-footer .row {
  row-gap: 1.25rem;
}

.ah-footer-news-col {
  display: flex;
  flex-direction: column;
}

.ah-hero {
  position: relative;
  min-height: clamp(430px, 66vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.ah-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ah-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 32, 28, 0.84), rgba(42, 32, 28, 0.52) 52%, rgba(42, 32, 28, 0.18) 85%, rgba(42, 32, 28, 0));
}

.ah-hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(4rem, 11vh, 7rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
  width: min(760px, 100%);
  color: #f8f2e8;
  animation: ahHeroRise 460ms ease both;
}

.ah-hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(248, 242, 232, 0.9);
}

.ah-hero-title {
  font-family: "Fraunces", var(--ah-font-serif);
  font-size: clamp(2.05rem, 5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #f8f2e8;
}

.ah-hero-lead {
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.55;
  color: rgba(248, 242, 232, 0.93);
  max-width: 45ch;
}

@keyframes ahHeroRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ah-bean-card {
  background-color: #f9f6ee;
  border: 1px solid var(--ah-border-soft);
  box-shadow: var(--ah-shadow-md);
  border-radius: var(--ah-radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ah-bean-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ah-shadow-lg);
  border-color: var(--ah-border-mid);
}

.ah-bean-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--ah-radius-sm);
  background: #ece6d7;
}

.ah-roast-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
}

.ah-bean-image {
  height: clamp(220px, 22vw, 270px);
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ah-bean-card:hover .ah-bean-image {
  transform: scale(1.02);
}

.ah-card-title {
  font-family: var(--ah-font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  color: var(--ah-espresso);
  margin-right: 0.75rem;
}

.ah-card-subtitle {
  font-size: 0.82rem;
  opacity: 0.84;
  color: var(--ah-cortado);
}

.ah-card-price {
  font-family: var(--ah-font-serif);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ah-espresso);
  white-space: nowrap;
}

.ah-bean-meta {
  min-height: 3.4rem;
}

.ah-flavour-tag {
  border: 1px solid var(--ah-border-mid);
  border-radius: var(--ah-radius-pill);
  padding: 0.22rem 0.62rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: var(--ah-letter-wide);
  text-transform: uppercase;
  color: var(--ah-espresso);
  background: rgba(255, 255, 255, 0.45);
}

.ah-bean-card-link {
  color: inherit;
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column;
}

.ah-bean-card-link:hover {
  color: inherit;
}

.ah-bean-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ah-cortado);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ah-bean-detail-link:hover {
  color: var(--ah-terracotta);
  transform: translateX(2px);
}

.ah-bean-detail-link span {
  line-height: 1;
}

.ah-bean-card-link:focus-visible,
.ah-bean-detail-link:focus-visible,
.ah-nav-link:focus-visible,
.ah-nav-icon:focus-visible,
.ah-navbar-toggler:focus-visible {
  outline: 3px solid rgba(193, 92, 61, 0.45);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .ah-navbar .navbar-collapse {
    margin: 0.55rem 0.75rem 0.75rem;
    border: 1px solid rgba(31, 24, 19, 0.24);
    border-radius: 0.45rem;
    background: #f8f3ea;
    box-shadow: 0 10px 24px rgba(31, 24, 19, 0.12);
    padding: 0.45rem 0.8rem 0.9rem;
  }

  .ah-navbar .navbar-nav {
    gap: 0;
    align-items: stretch;
  }

  .ah-navbar .ah-nav-link {
    text-align: center;
    padding: 0.75rem 0.8rem;
    border-bottom: 1px solid rgba(31, 24, 19, 0.14);
  }

  .ah-navbar .nav-item:last-child .ah-nav-link {
    border-bottom: 0;
  }

  .ah-navbar .d-flex.align-items-center.gap-4 {
    justify-content: center;
    gap: 0.7rem !important;
    padding-top: 0.75rem;
  }

  .ah-hero {
    min-height: clamp(380px, 56vh, 620px);
  }

  .ah-hero-title {
    font-size: clamp(1.9rem, 7.5vw, 3.1rem);
  }
}

@media (max-width: 767.98px) {
  .ah-nav-link {
    color: #1f1813 !important;
  }

  .ah-brand {
    width: 168px;
    min-height: 80px;
  }

  .ah-brand-logo {
    width: 62px;
    height: 48px;
  }
}

@media (max-width: 575.98px) {
  .ah-hero-content {
    padding-top: 3.6rem;
    padding-bottom: 1.8rem;
  }

  .ah-hero-lead {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-hero-content {
    animation: none !important;
  }
}
