/**
 * ===== Local font =====
 *
 * @format
 */

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;

  /* 1) Remove the grey/blue tap highlight on iOS/Android */

  -webkit-tap-highlight-color: transparent; /* iOS/Android */
}

/* 2) Keep accessibility: show focus ring only for keyboard, not taps */
a:focus {
  outline: none;
}
button:focus {
  outline: none;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #0ea5e9; /* pick your focus color */
  outline-offset: 2px;
}

/* 3) Prevent iOS text callout on images/icons (optional) */
img,
svg {
  -webkit-touch-callout: none;
}

/* 4) Make sure :active states don't change layout */
a,
button {
  /* If you use :active, avoid margin/padding/border changes that shift layout */
  /* Provide press feedback via opacity/transform or box-shadow instead */
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation; /* removes 300ms delay without hurting scroll */
}
html,
body {
  height: 100%;
}
a {
  text-decoration: none;
}

body {
  margin: 0;
  font-family:
    "Instrument Sans",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  background: #ffffff;
  color: #171717;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100vw;
  overflow-x: hidden;
}

/* ========== NAVBAR VARS ========== */
:root {
  --navbar-bg: #fff;
  --body-bg: #fff;
  --text-color: #000;
  --hover-bg: #000;
  --border-radius: 30px;
  --transition-speed: 0.4s;

  /* Sheet + easing */
  --sheet-radius: 22px;
  --sheet-height: 85vh;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Language bottom sheet sizing */
  --lang-height: 24vh;

  /* per-direction delays */
  --sheet-delay-open: 0.3s;
  --sheet-delay-close: 0.01s;
  --lang-delay-open: 0.3s;
  --lang-delay-close: 0.2s;

  /* Header slider (white UI) */
  --peek: 3vw;
  --pad: clamp(16px, 6vw, 96px);
  --title: clamp(32px, 4.8vw, 80px);
  --copy: clamp(14px, 1.3vw, 18px);
  --rail: rgba(255, 255, 255, 0.22);
  --ui: rgba(255, 255, 255, 0.85);
  --gap: 24px;
  --dot-inactive: 5.5px;
  --dot-active: 10px;
  --embla-speed: 1;
  --slide-size: calc(100vw - var(--peek) * 2 - var(--gap));

  /* hero */
  --ctrl-size: 52px;
  --ctrl-icon: #000;
}

/* (NAVBAR CSS REMOVED HERE) */

/* ========== HOME SLIDER (white UI) ========== */
.home_slider {
  position: relative;
  top: 12vh;
  height: 100svh;
  width: 100%;
  background: #fff !important;
}
.home_slider-viewport {
  height: 100%;
  overflow: hidden;
}
.home_slider-container {
  display: flex;
  height: 100%;
  will-change: transform;
}

.home_slider-slide {
  position: relative;
  height: 100%;
  flex: 0 0 var(--slide-size);
  min-width: var(--slide-size);
  max-width: var(--slide-size);
  margin-inline: calc(var(--gap) / 1.4);
  overflow: hidden;
  contain: size layout paint;
  isolation: isolate;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.home_slider-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.home_slider-media img,
.home_slider-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform-origin: 50% 50%;
  transform: scale(1.06);
}
.home_slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.home_slider-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}
.home_slider-play button {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  display: none;
  place-items: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.home_slider-play button:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.3);
}
.home_slider-play button::before {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.home_slider-content {
  position: absolute;
  inset: auto auto 18% var(--pad);
  z-index: 3;
  max-width: min(760px, 60vw);
  text-transform: uppercase;
}
.home_slider-content,
.home_slider-content * {
  color: #fff;
}
.home_slider-kicker {
  margin: 0 0 0.6rem;
  letter-spacing: 0.18em;
  opacity: 0.95;
  font-size: var(--copy);
}
.home_slider-title {
  margin: 0.2rem 0 1rem;
  font-size: var(--title);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.02em;
}
.home_slider-copy {
  margin: 0;
  opacity: 0.92;
  font-size: var(--copy);
  text-transform: none;
}
@media (min-width: 1100px) {
  .home_slider-content {
    inset: auto auto 16% clamp(48px, 10vw, 140px);
  }
}

.home_slider-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  z-index: 5;
  pointer-events: none;
}
.home_slider-controls {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  height: 40px;
}
.home_slider-rail {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: -70%;
  transform: translateY(-50%);
  height: 1px;
  background: var(--rail);
}
.home_slider-btn {
  pointer-events: auto;
  border: none;
  background: transparent;
  color: var(--ui);
  font-size: 28px;
  line-height: 1;
  padding: 10px 14px;
  cursor: pointer;
  opacity: 0.9;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.home_slider-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.home_slider-prev {
  justify-self: start;
}
.home_slider-next {
  justify-self: end;
}
.home_slider-pagination {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.home_slider-pagination .dot {
  width: var(--dot-inactive);
  height: var(--dot-inactive);
  border-radius: 50%;
  background: #fff;
  opacity: 0.8;
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    background 0.25s ease,
    border 0.25s ease,
    width 0.15s,
    height 0.15s;
}
.home_slider-pagination .dot.is-active {
  width: var(--dot-active);
  height: var(--dot-active);
  background: transparent;
  border: 2.5px solid #fff;
  opacity: 1;
  transform: scale(0.97);
  /* transform: scale(0.2); */
}

@media (max-width: 768px) {
  :root {
    --peek: 1vw;
    --gap: 32px;
    --slide-size: calc(100vw - var(--peek) * 2 - var(--gap));
  }
  .home_slider {
    height: 66vh;
    top: 9vh;
  }
  .home_slider-prev,
  .home_slider-next {
    display: none !important;
  }
  .home_slider-rail {
    display: none;
  }
  .home_slider-pagination {
    position: relative;
    top: 2.5vh;
    gap: 17px;
    left: 8vw;
    justify-content: flex-start;
  }
  .home_slider-ui {
    bottom: 32px;
  }
}

/* ========== ABOUT ========== */
.home_about {
  padding: 12vw 0 4vw 0;
}
.home_about .wrap {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.home_about h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-size: 62px;
  color: #000;
}
.home_about p {
  margin: 0 0 24px 0;
  color: #000000;
  font-size: 18px;
  line-height: 1.5;
  max-width: 60ch;
}
.home_about .actions {
  margin-top: 16px;
}
.btn-ink {
  --px: 50%;
  --py: 50%;
  --r: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  border: 1.5px solid #171717;
  border-radius: 0;
  background: transparent;
  color: #171717;
  font-weight: 100;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint style;
  user-select: none;
  backface-visibility: hidden;
  transition: color 0.35s ease;
}
.btn-ink .label {
  position: relative;
  z-index: 2;
  font-weight: 600;
}
.btn-ink .arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  position: relative;
  z-index: 2;
}
.btn-ink::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: #171717;
  clip-path: circle(0px at var(--px) var(--py));
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
  z-index: 1;
  pointer-events: none;
}
.btn-ink:hover,
.btn-ink.enter {
  color: #ffffff;
}
.btn-ink:hover::before,
.btn-ink.enter::before {
  clip-path: circle(var(--r) at var(--px) var(--py));
}
.btn-ink.leave {
  color: #171717;
}
.btn-ink.leave::before {
  clip-path: circle(0px at var(--px) var(--py));
}

@media (max-width: 1200px) {
  .home_about .wrap {
    gap: 48px;
  }
  .home_about h2 {
    font-size: 56px;
  }
  .home_about p {
    font-size: 16px;
  }
}
@media (max-width: 980px) {
  .home_about .wrap {
    grid-template-columns: 1fr;
  }
  .home_about h2 {
    font-size: 48px;
  }
}
@media (max-width: 680px) {
  .home_about {
    padding: 15vh 5.5vw 5.5vh 5.5vw;
  }
  .home_about .wrap {
    gap: 24px;
  }
  .home_about h2 {
    width: 100%;
    /* font-size: 35px; */
    font-size: 32px !important;
  }
  /* .home_about br {
    display: none;
  } */
  .home_about p {
    font-size: 16px;
    line-height: 1.6;
  }
  .video-ctl {
    width: 0px;
    height: 0px;
    right: 1rem;
    bottom: 1rem;
  }
}
@media (max-width: 420px) {
  .home_about h2 {
    font-size: 34px;
  }
  .btn-ink {
    min-width: 180px;
    padding: 18px 22px;
  }
}

/* ========== HERO VIDEO ========== */
.hero {
  width: 100%;
  background: #000;
}
.hero .frame {
  max-width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.12));
}

.video-ctl {
  position: absolute;
  right: 2.25rem;
  bottom: 1.25rem;
  width: var(--ctrl-size);
  height: var(--ctrl-size);
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.18s ease-in-out;
}
.video-ctl:hover {
  background: rgba(255, 255, 255, 0.6);
}
.video-ctl:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.video-ctl svg {
  width: 22px;
  height: 22px;
  fill: var(--ctrl-icon);
  display: block;
}

/* Solid white when paused */
.video-ctl.is-paused {
  background: #fff;
}
.video-ctl.is-paused:hover {
  background: #fff; /* keep it white on hover too */
}

.spacer {
  height: 22px;
}
@media (max-width: 680px) {
  .hero .frame {
    height: 240px;
  }
  .video-ctl {
    width: 40px;
    height: 40px;
    right: 1.3rem;
    bottom: 1.3rem;
  }
  .video-ctl svg {
    width: 18px;
    height: 18px;
  }
}

/* =========================================================
   PRODUCT STRIP SLIDER — EXACT ORIGINAL STYLES
   ========================================================= */
.slider {
  width: 100vw;
  padding-left: 3.3rem; /* visible gap at start (desktop) */
  position: relative;
  overflow: hidden;
  margin: 48px 0;
  transition: padding-left 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider.compact {
  padding-left: 0;
}

.track {
  display: flex;
  align-items: stretch;
  gap: 1.35vw; /* desktop gap */
  padding-right: 40px; /* room after last card */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 3.3rem; /* align snap with desktop gap */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.track::-webkit-scrollbar {
  display: none;
}
.slider.compact .track {
  scroll-padding-left: 0;
}

/* Cards */
.card {
  position: relative;
  flex: 0 0 22vw; /* desktop card width */
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  height: 57vh;
}
.media {
  position: relative;
  width: 100%;
  height: 100%;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.meta {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.title {
  position: relative;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  white-space: nowrap;
}
/* Underline base (idle): anchor at RIGHT so shrink goes left→right */
.title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right; /* key */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 24px;
  opacity: 0.9;
  /* font-weight: 100; */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .card:hover .media img {
    transform: scale(1.05);
    filter: saturate(1.05) brightness(1.04);
  }
  /* Hover state: grow left→right */
  .card:hover .title::after {
    transform: scaleX(1);
    transform-origin: left; /* key */
  }
  .card:hover .hint {
    transform: rotate(90deg) translateY(2px);
  }
}

/* Arrows + ink */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;

  background-color: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;

  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;

  overflow: hidden;
  isolation: isolate;
  --px: 50%;
  --py: 50%;
  --r: 0px;

  z-index: 10;
  border: 0.5px solid rgba(0, 0, 0, 0.3);
}
.nav.left {
  left: 6vw;
}
.nav.right {
  right: 6vw;
}
.nav i {
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
}

.slider.show-arrows .nav {
  opacity: 1;
  pointer-events: auto;
}
.slider.show-arrows .nav.blocked {
  opacity: 0 !important;
  pointer-events: none !important;
}

.nav::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: rgba(255, 255, 255);
  opacity: 0.5;
  clip-path: circle(0px at var(--px) var(--py));
  transition: clip-path 1.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path;
  pointer-events: none;
}
.nav.ink-on::before {
  clip-path: circle(var(--r) at var(--px) var(--py));
}
.nav.ink-off::before {
  clip-path: circle(0px at var(--px) var(--py));
  transition: clip-path 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.ink-on i {
  color: #000;
}

/* ===== Mobile exact behavior (start gap then fill) ===== */
@media (max-width: 767.98px) {
  .slider {
    padding-left: 20px;
    transition: padding-left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .slider.mcompact {
    padding-left: 0;
  }

  .track {
    gap: 3.5vw;
    padding-right: 20px;
    scroll-padding-left: 20px;
    transition: scroll-padding-left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .slider.mcompact .track {
    scroll-padding-left: 0;
  }

  .card {
    flex-basis: 74vw;
    height: 44vh;
  }
  .meta {
    left: 6.6vw;
    right: 6.6vw;
    bottom: 2.8vh;
  }
  .title {
    font-size: 20px;
    letter-spacing: 0.5px;
    text-transform: none;
  }
  .hint {
    font-size: 20px;
    opacity: 0.85;
    /* font-weight: normal !important; */
    width: 28px;
    height: 28px;
  }

  .nav {
    display: none !important;
  }
}

/* a11y */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .media img,
  .nav::before {
    transition: none !important;
  }
}

/* --------------- review section home ------------- */

/* ====== BLACK BAND ====== */
.ava-band {
  background: #000;
  color: #fff;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 10px;
}
.ava-band img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}
.ava-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
}

/* ====== VIEWPORT / TRACK / SLIDES ====== */
.ava-viewport {
  overflow: hidden;
  touch-action: pan-y; /* allow vertical page scroll; we handle horizontal */
}
@media (hover: hover) {
  .ava-viewport {
    cursor: grab;
  }
  .ava-viewport.grabbing {
    cursor: grabbing;
  }
}

.ava-track {
  display: flex;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 420ms cubic-bezier(0.18, 0.7, 0.2, 1);
  backface-visibility: hidden;
}

.ava-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ava-slide-inner {
  width: 100%;
  text-align: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.ava-quote {
  margin: 0 auto 2.5rem;
  max-width: 980px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.2px;
}
.ava-avatar {
  margin: 18px auto 18px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  /* border: 2px solid rgba(255, 255, 255, 0.22); */
}
.ava-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ava-byline {
  margin: 2px 0 18px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
  font-style: italic;
}

/* ====== DOTS ====== */
.ava-dots {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2vw;
}
/* Disable transitions on first paint to avoid the “pop” */
.ava-dots:not(.ready) .ava-dot {
  transition: none !important;
}

.ava-dot {
  width: 6px;
  height: 6px;
  border-radius: 50px;
  padding: 0;
  outline: none;
  cursor: pointer;
  background: #fff; /* non-active = filled white */
  border: 1px solid #fff; /* non-active border */
  transition:
    width 0.25s ease,
    height 0.25s ease,
    border-width 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}
/* Active: bigger ring with transparent center */
.ava-dot[aria-selected="true"] {
  background: transparent;
  border-color: #fff;
  border-width: 2.6px;
  width: 10px;
  height: 10px;
}
.ava-dot:hover {
  opacity: 0.9;
}

/* Soft fade when user changes slide (disabled on clone jump) */
.ava-fade {
  animation: avaFade 0.45s cubic-bezier(0.18, 0.7, 0.2, 1) both;
}
@keyframes avaFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .ava-wrap {
    padding: 0 16px 10px;
  }
  .ava-quote {
    width: 96%;
    font-size: 18px;
    letter-spacing: 0.1px;
  }
  .ava-byline {
    padding: 0 20px;
    width: 100%;
    text-align: center;
    font-size: 16px;
  }
  .ava-avatar {
    width: 58px;
    height: 58px;
  }
  .ava-dots {
    margin-top: 0;
    gap: 4.9vw;
  }
  .ava-dot {
    width: 5px;
    height: 5px;
  }
  .ava-dot[aria-selected="true"] {
    width: 9px;
    height: 9px;
    border-width: 2.4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ava-track {
    transition: none;
  }
  .ava-fade {
    animation: none;
  }
  .ava-dot {
    transition: none;
  }
}

/* ---------------------------- feed ---------------------------- */
/* ---------------------------- feed ---------------------------- */
/* ---------------------------- feed ---------------------------- */

.feed_review_hr {
  margin: 9vh 0 5vh 0;
  /* height: 0.5px; */
  opacity: 0.5;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.1);
}

.feed-section {
  margin-bottom: 6vh;
  padding: 0 3.2vw;
  background: #ffffff;
}

.feed-heading {
  margin-bottom: 32px;
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  color: #01b2b1;
}

.feed-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 3.5px;
}

.feed-card {
  height: 60.5vh;
  display: block;
  flex: 0 0 calc((100% - 3 * 3.5px) / 4);
  border-radius: 6px;
  overflow: hidden;
  background: #000000;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.feed-card img {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover overlay with Instagram logo */
.feed-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.feed-overlay i {
  font-size: 22px;
  color: #ffffff;
}

.feed-card:hover .feed-overlay {
  opacity: 1;
}

/* Bottom handle */
.ig-handle {
  text-align: center;
  margin-top: 14px;
}

.ig-handle a {
  position: relative;
  display: inline-block;
  font-size: 13px;
  color: #111111;
  text-decoration: none;
  padding-bottom: 4px;
}

/* Underline element */
.ig-handle a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #111111;
  transform-origin: left;
  transform: scaleX(0);
  animation: underline-in 0.35s ease-out forwards;
}

/* Hover: line goes left -> right and disappears */
.ig-handle a:hover::before {
  animation: underline-out 0.35s ease-out forwards;
  transform-origin: right;
}

@keyframes underline-in {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes underline-out {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.ig-handle a:hover {
  color: #111111;
}

/* Keep 4 cards layout even on mobile; only tweak paddings / heading / height */
@media (max-width: 600px) {
  .feed_review_hr {
    opacity: 0.8;
    margin: 6vh 0 5vh 0;
    height: 1px;
  }

  .feed-section {
    margin: 4vh 0;
    padding: 0 4.8vw;
  }

  .feed-heading {
    margin-bottom: 28px;
    font-size: 32px;
  }

  .feed-row {
    justify-content: center;
    gap: 1.5px;
  }
  /* Increase card height on mobile */
  .feed-card {
    /* border-radius: 3px; */
    height: 125px; /* adjust this number to make taller/shorter */
  }

  .feed-card img {
    height: 100%;
    object-fit: cover;
  }
}
