/*
 * Section eyebrow ("— FAQ"): a short gold rule followed by small uppercase tracking-wide text. Figma: 64px line
 * (40px on mobile), 15px gap, IBM Plex Sans SemiBold 18px / 12px on mobile, letter-spacing 1.4px.
 */

.edge-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: var(--font-family, 'IBM Plex Sans'), sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.edge-eyebrow__rule {
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 1px;
  background: #e0b25c;
}

@media (min-width: 1280px) {
  .edge-eyebrow {
    gap: 15px;
    font-size: 18px;
    letter-spacing: 1.4px;
  }

  .edge-eyebrow__rule {
    width: 64px;
  }
}

/*
 * Responsive display utilities for Webflow code components — a hand-written subset of
 * Tailwind's display classes behind mobile-first breakpoint variants. Plain CSS (no Tailwind
 * build step): each component renders in its own Shadow DOM, so every *.webflow.tsx imports
 * this file to get the utilities inside its shadow root.
 *
 * Breakpoints are the Edge Webflow site's own: tablet 768px, desktop 1024px (src/config/viewports.ts
 * keeps desktop at 992px for the prefabs/Storybook — these intentionally differ).
 *
 *   <div className="hidden tablet:flex">…</div>        hidden on mobile, flex from tablet up
 *   <span className="desktop-only:hidden">…</span>     hidden on desktop only
 *
 * Every declaration is !important so the utilities win over the component stylesheets
 * (e.g. `.hero-form { display: flex }`) regardless of selector specificity or load order.
 *
 * Rules are ordered base → mobile → tablet → desktop so a wider breakpoint wins when
 * several variants match (all selectors have equal specificity).
 */

.hidden {
  display: none !important;
}

.block {
  display: block !important;
}

.inline-block {
  display: inline-block !important;
}

.inline {
  display: inline !important;
}

.flex {
  display: flex !important;
}

.inline-flex {
  display: inline-flex !important;
}

.grid {
  display: grid !important;
}

.inline-grid {
  display: inline-grid !important;
}

.contents {
  display: contents !important;
}

/* Mobile and up (0px+) — the mobile-first base, no media query. */

.mobile\:hidden {
  display: none !important;
}
.mobile\:block {
  display: block !important;
}
.mobile\:inline-block {
  display: inline-block !important;
}
.mobile\:inline {
  display: inline !important;
}
.mobile\:flex {
  display: flex !important;
}
.mobile\:inline-flex {
  display: inline-flex !important;
}
.mobile\:grid {
  display: grid !important;
}
.mobile\:inline-grid {
  display: inline-grid !important;
}
.mobile\:contents {
  display: contents !important;
}

/* Mobile only (0–767px). */

@media (max-width: 767.98px) {
  .mobile-only\:hidden {
    display: none !important;
  }
  .mobile-only\:block {
    display: block !important;
  }
  .mobile-only\:inline-block {
    display: inline-block !important;
  }
  .mobile-only\:inline {
    display: inline !important;
  }
  .mobile-only\:flex {
    display: flex !important;
  }
  .mobile-only\:inline-flex {
    display: inline-flex !important;
  }
  .mobile-only\:grid {
    display: grid !important;
  }
  .mobile-only\:inline-grid {
    display: inline-grid !important;
  }
  .mobile-only\:contents {
    display: contents !important;
  }
}

/* Tablet and up (768px+). */

@media (min-width: 768px) {
  .tablet\:hidden {
    display: none !important;
  }
  .tablet\:block {
    display: block !important;
  }
  .tablet\:inline-block {
    display: inline-block !important;
  }
  .tablet\:inline {
    display: inline !important;
  }
  .tablet\:flex {
    display: flex !important;
  }
  .tablet\:inline-flex {
    display: inline-flex !important;
  }
  .tablet\:grid {
    display: grid !important;
  }
  .tablet\:inline-grid {
    display: inline-grid !important;
  }
  .tablet\:contents {
    display: contents !important;
  }
}

/* Tablet only (768–1023px). */

@media (min-width: 768px) and (max-width: 1023.98px) {
  .tablet-only\:hidden {
    display: none !important;
  }
  .tablet-only\:block {
    display: block !important;
  }
  .tablet-only\:inline-block {
    display: inline-block !important;
  }
  .tablet-only\:inline {
    display: inline !important;
  }
  .tablet-only\:flex {
    display: flex !important;
  }
  .tablet-only\:inline-flex {
    display: inline-flex !important;
  }
  .tablet-only\:grid {
    display: grid !important;
  }
  .tablet-only\:inline-grid {
    display: inline-grid !important;
  }
  .tablet-only\:contents {
    display: contents !important;
  }
}

/* Desktop and up (1024px+). */

@media (min-width: 1024px) {
  .desktop\:hidden {
    display: none !important;
  }
  .desktop\:block {
    display: block !important;
  }
  .desktop\:inline-block {
    display: inline-block !important;
  }
  .desktop\:inline {
    display: inline !important;
  }
  .desktop\:flex {
    display: flex !important;
  }
  .desktop\:inline-flex {
    display: inline-flex !important;
  }
  .desktop\:grid {
    display: grid !important;
  }
  .desktop\:inline-grid {
    display: inline-grid !important;
  }
  .desktop\:contents {
    display: contents !important;
  }
}

/* Desktop only (1024px+) — same range as desktop: (top of the scale). */

@media (min-width: 1024px) {
  .desktop-only\:hidden {
    display: none !important;
  }
  .desktop-only\:block {
    display: block !important;
  }
  .desktop-only\:inline-block {
    display: inline-block !important;
  }
  .desktop-only\:inline {
    display: inline !important;
  }
  .desktop-only\:flex {
    display: flex !important;
  }
  .desktop-only\:inline-flex {
    display: inline-flex !important;
  }
  .desktop-only\:grid {
    display: grid !important;
  }
  .desktop-only\:inline-grid {
    display: inline-grid !important;
  }
  .desktop-only\:contents {
    display: contents !important;
  }
}

/* Plain, hand-written CSS scoped under .article-cards — rendered inside Webflow's shadow root, no Tailwind. */

.article-cards,
.article-cards *,
.article-cards *::before,
.article-cards *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family, 'IBM Plex Sans'), sans-serif;
}

.article-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  padding-top: 42px;
  color: #fff;
}

.article-cards__eyebrow {
  padding: 0 16px;
}

.article-cards__list {
  display: flex;
  gap: 14px;
  width: 100%;
  padding: 0 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.article-cards__list::-webkit-scrollbar {
  display: none;
}

.article-cards__item {
  flex: 0 0 auto;
  width: calc(100% - 13px);
  max-width: 345px;
  scroll-snap-align: start;
  --article-cards-stagger: 0ms;
  opacity: 0;
  translate: 0 40px;
  scale: 0.97;
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--article-cards-stagger),
    translate 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--article-cards-stagger),
    scale 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--article-cards-stagger);
}

/* Like the product phones: the cards fade up once their row reaches the screen, one at a time from tablet up. */
@media (min-width: 768px) {
  .article-cards__item:nth-child(2) {
    --article-cards-stagger: 250ms;
  }

  .article-cards__item:nth-child(3) {
    --article-cards-stagger: 500ms;
  }
}

.article-cards__list--in-view .article-cards__item {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.article-cards__card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 543 / 607;
  border: 1px solid #383838;
  border-radius: 15px;
  overflow: hidden;
  background: #000;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}

.article-cards__card:focus-visible {
  outline: 2px solid #e0b25c;
  outline-offset: 3px;
}

.article-cards__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-cards__card:hover .article-cards__image {
  transform: scale(1.03);
}

.article-cards__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.article-cards__meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  gap: 15px;
  padding: 25px 9px 25px 25px;
}

/* Figma sizes the title block, not the arrow: 251.6px mobile, 226.5px tablet, 396px desktop, with the arrow right after
   it, so the arrow sits 9 / 7 / 14px from the card's right edge instead of matching the left padding. */
.article-cards__text {
  display: flex;
  flex: 0 1 251.6px;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

/* Title and copy are capped at two lines each on every screen, ending in an ellipsis if they run longer. */
.article-cards__title,
.article-cards__copy {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.article-cards__title {
  font-size: 27px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.93px;
  color: #fff;
  padding-bottom: 0.085em;
  margin-bottom: -0.085em;
}

.article-cards__title em {
  font-style: italic;
  font-weight: inherit;
}

.article-cards__copy {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.36;
  color: rgba(255, 255, 255, 0.72);
}

.article-cards__arrow {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0.5px solid #f0dab1;
  border-radius: 50%;
  background: #fff;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.article-cards__card:hover .article-cards__arrow,
.article-cards__card:focus-visible .article-cards__arrow {
  transform: translateX(4px);
  background: linear-gradient(100deg, #e6bc6c 0%, #ebcb8f 50%, #f0dab1 100%);
}

.article-cards__arrow-icon {
  width: 19px;
  height: 19px;
}

@media (prefers-reduced-motion: reduce) {
  .article-cards__item,
  .article-cards__image,
  .article-cards__arrow {
    transition: none;
  }

  .article-cards__card:hover .article-cards__image,
  .article-cards__card:hover .article-cards__arrow {
    transform: none;
  }
}

@media (min-width: 768px) {
  .article-cards {
    gap: 25px;
    padding: 42px 32px 0;
  }

  .article-cards__eyebrow {
    padding: 0;
  }

  .article-cards__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    overflow: visible;
  }

  .article-cards__item {
    width: auto;
    max-width: none;
  }

  .article-cards__card {
    border-width: 0.57px;
    border-radius: 14px;
  }

  .article-cards__meta {
    gap: 14px;
    padding: 23px 7px 23px 23px;
  }

  .article-cards__text {
    flex-basis: 226.5px;
    gap: 9px;
  }

  .article-cards__title {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.57px;
  }

  .article-cards__copy {
    font-size: 11.44px;
    line-height: 1.36;
  }

  .article-cards__arrow {
    width: 39.5px;
    height: 39.5px;
    border-width: 0.32px;
  }

  .article-cards__arrow-icon {
    width: 17px;
    height: 17px;
  }
}

@media (min-width: 1280px) {
  .article-cards {
    gap: 40px;
    padding: 80px max(79px, calc((100% - 1673px) / 2)) 0;
  }

  .article-cards__list {
    gap: 22px;
  }

  .article-cards__card {
    border-width: 1px;
    border-radius: 24px;
  }

  .article-cards__meta {
    gap: 24px;
    padding: 40px 14px 40px 40px;
  }

  .article-cards__text {
    flex-basis: 396px;
    gap: 16px;
  }

  .article-cards__title {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .article-cards__copy {
    font-size: 20px;
  }

  .article-cards__arrow {
    width: 52px;
    height: 52px;
    border-width: 0.5px;
  }

  .article-cards__arrow-icon {
    width: 24px;
    height: 24px;
  }
}

/* Parallax: each blog photo slides inside its card as the row passes, over-scaled so no edge shows. */
@keyframes article_cards_image_drift {
  from {
    translate: 0 -6%;
  }
  to {
    translate: 0 6%;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .article-cards {
      view-timeline: --article-cards block;
    }

    .article-cards__image {
      scale: 1.16;
      animation: article_cards_image_drift linear both;
      animation-timeline: --article-cards;
      animation-range: cover;
    }
  }
}

/* Hover: the card lifts and picks up a soft champagne edge glow. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .article-cards__card {
    transition:
      transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      border-color 0.5s ease,
      box-shadow 0.5s ease;
  }

  .article-cards__card:hover {
    border-color: rgba(240, 218, 177, 0.55);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.45),
      0 0 32px rgba(224, 178, 92, 0.22);
    transform: translateY(-6px);
  }
}

