:root {
  --color-primary: #9e2a3e;
  --color-secondary: #7d5c43;
  --color-tertiary: #d7735c;
  --color-neutral: #f8f5ee;
  --color-neutral-alt: #f1e8dd;
  --color-neutral-deep: #241e1b;
  --color-dark: #211714;
  --color-text: #f8f5ee;
  --color-accent: #d7a86e;
  --color-text-soft: rgba(36, 30, 27, 0.72);
  --color-card: rgba(248, 245, 238, 0.15);
  --color-card-border: rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 20px 60px rgba(32, 16, 8, 0.18);
  --shadow-strong: 0 30px 80px rgba(20, 9, 3, 0.35);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--color-neutral);
  background:
    radial-gradient(circle at top left, rgba(158, 42, 62, 0.22), transparent 30%),
    linear-gradient(180deg, var(--color-neutral-deep) 0%, #231814 100svh, var(--color-neutral) 100svh, var(--color-neutral) 100%);
}

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  height: auto;
  overflow: visible;
}

.hero__media {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero__slide.is-leaving {
  opacity: 0;
  transform: scale(1.12);
  z-index: 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(0.95) brightness(0.75);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    linear-gradient(180deg, rgba(28, 17, 12, 0.35) 0%, rgba(28, 17, 12, 0.52) 40%, rgba(28, 17, 12, 0.88) 100%),
    radial-gradient(circle at 20% 20%, rgba(215, 115, 92, 0.22), transparent 28%),
    radial-gradient(circle at 80% 28%, rgba(158, 42, 62, 0.24), transparent 34%);
}

.hero__content {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  padding: 100px 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px max(20px, calc((100vw - var(--shell)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  transition: padding 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.topbar.is-scrolled {
  padding: 16px max(20px, calc((100vw - var(--shell)) / 2));
  background:
    linear-gradient(180deg, rgba(27, 19, 17, 0.94), rgba(27, 19, 17, 0.88)),
    radial-gradient(circle at top, rgba(158, 42, 62, 0.18), transparent 55%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(248, 245, 238, 0.08);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.brand {
  width: 90px;
  flex-shrink: 0;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__links a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s;
}

.topbar__links a.active,
.topbar__links a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  background: none;
  border: none;
  color: white;
  width: 20px;
  height: 20px;
  cursor: pointer;
  padding: 0;
}

.icon-btn svg {
  width: 100%;
  height: 100%;
}

.button--solid {
  background: white;
  color: #111;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.95rem;
  transition: transform 0.2s;
}

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



.hero__bottom {
  position: relative;
  z-index: 10;
  width: var(--shell);
  margin-inline: auto;
  padding: 0;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  row-gap: 20px;
}

.hero__copy {
  flex: 0 1 650px;
  max-width: 650px;
}

.hero__copy h1 {
  margin: 0 0 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__lede {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: rgba(248, 245, 238, 0.88);
  max-width: 500px;
}

.hero__glass-card {
  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  width: 320px;
  color: white;
  flex-shrink: 0;
}

.hero-card__users {
  display: flex;
  margin-bottom: 12px;
}

.hero__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--color-primary);
  margin-left: -10px;
  object-fit: cover;
}

.hero__avatar:first-child {
  margin-left: 0;
  background: var(--color-secondary);
}

.hero__avatar:last-child {
  background: var(--color-tertiary);
}

.hero__glass-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.hero__glass-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
  margin: 0;
}



.about {
  padding: 120px 0;
  color: var(--color-neutral-deep);
  background:
    linear-gradient(180deg, var(--color-neutral) 0%, #f6efe5 100%);
}

.about__inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  color: var(--color-accent);
  margin-bottom: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  display: block;
}

.about h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.about p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-soft);
  margin: 0 0 40px;
  max-width: 650px;
}

.button--dark {
  background: var(--color-neutral-deep);
  color: var(--color-neutral);
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button--dark::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 250%;
  /* Large enough to cover the button from any entry point */
  aspect-ratio: 1;
  /* Retains perfect circle shape */
  border-radius: 50%;
  background: var(--color-primary);
  /* Pink / maroon */
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.65s ease;
  z-index: -1;
  pointer-events: none;
  /* Prevent interference */
}

.button--dark:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

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

/* CATEGORIES HORIZONTAL SCROLL */
.categories {
  position: relative;
  padding: 120px 0;
  background:
    linear-gradient(180deg, var(--color-neutral-alt) 0%, #eadfd2 100%);
  color: var(--color-neutral-deep);
  z-index: 10;
}

.categories__intro {
  text-align: center;
  margin-bottom: 64px;
}

.categories__intro .eyebrow {
  display: inline-flex;
  margin-bottom: 20px;
}

.categories__intro h2 {
  font-size: clamp(3rem, 4.5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.categories__intro p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-soft);
  max-width: 60ch;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  width: 100%;
}

.category-card {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 36px rgba(56, 26, 18, 0.14);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px rgba(56, 26, 18, 0.2);
}

.category-card__img-wrapper {
  aspect-ratio: 3/5;
  width: 100%;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 32px;
  z-index: 2;
  /* Rich gradient extending higher for taller cards */
  background: linear-gradient(to bottom,
      rgba(22, 12, 10, 0) 0%,
      rgba(57, 21, 23, 0.2) 20%,
      rgba(122, 33, 50, 0.72) 65%,
      rgba(158, 42, 62, 0.96) 100%);
  color: white;
}

.category-card h3 {
  font-size: 1.8rem;
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.category-card p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes wheel {

  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.line-anim,
.hero__glass-card {
  opacity: 0;
  will-change: opacity, transform;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

h1>.line-anim:nth-child(1) {
  animation-delay: 0.2s;
}

h1>.line-anim:nth-child(2) {
  animation-delay: 0.4s;
}

p.line-anim {
  animation-delay: 0.6s;
}

.hero__glass-card {
  animation-delay: 0.8s;
}



@media (max-width: 1080px) {
  .categories {
    --category-card-width: min(440px, 74vw);
  }

  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    width: var(--shell);
    padding: 0 0 20px;
  }

  .hero__glass-card {
    width: 100%;
  }

  .hero__copy {
    max-width: none;
  }

  .hero__panel {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .categories {
    --category-card-width: min(360px, 82vw);
    --category-end-space: 56px;
  }

  .categories__layout {
    gap: 24px;
  }

  .categories__left {
    margin-left: 16px;
    flex-basis: 280px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__content {
    min-height: 100svh;
    padding: 92px 0 22px;
    justify-content: flex-end;
  }

  .hero__bottom {
    width: calc(100vw - 32px);
    gap: 18px;
    padding-bottom: 8px;
    align-items: stretch;
  }

  .hero__copy {
    flex-basis: auto;
    width: 100%;
  }

  .hero__copy h1 {
    max-width: none;
    font-size: clamp(1.95rem, 9.2vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: -0.015em;
    overflow-wrap: anywhere;
  }

  .hero__lede {
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .hero__glass-card {
    width: 100%;
    padding: 18px;
    border-radius: 18px;
  }

  .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .scroll-cue {
    margin-top: 24px;
  }

  .story {
    padding-top: 68px;
  }

  .about {
    padding: 96px 0;
  }

  .about__inner {
    width: calc(100vw - 32px);
  }
}

/* TESTIMONIALS (FERRIS WHEEL) SCROLLYTELLING */
.testimonials {
  position: relative;
  height: 400vh;
  background:
    linear-gradient(180deg, #2a1d19 0%, var(--color-dark) 100%);
  color: var(--color-text);
  z-index: 11;
  overflow: clip;
}

.testimonials::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}

.testimonials::after {
  bottom: 0;
  height: 190px;
  background: linear-gradient(180deg, rgba(33, 23, 20, 0) 0%, rgba(33, 23, 20, 0.92) 100%);
}

.testimonials__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.testimonials__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(36px, 5vw, 80px);
  width: 100%;
  position: relative;
  padding-left: 0;
}

.testimonials__left {
  flex: 0 0 min(430px, 35%);
  margin-left: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 20;
}

.testimonials__left h2 {
  font-size: clamp(3rem, 4.4vw, 4.4rem);
  line-height: 0.98;
  margin: 0 0 24px;
  letter-spacing: -0.035em;
  max-width: 10ch;
}

.testimonials__left p {
  font-size: 1.04rem;
  line-height: 1.8;
  color: rgba(248, 245, 238, 0.76);
}

.testimonials__left .eyebrow {
  display: inline-flex;
  margin-bottom: 28px;
}

.testimonials__lead {
  max-width: 34ch;
  margin: 0;
}

.testimonials__copy-card {
  max-width: 360px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 245, 238, 0.08), rgba(248, 245, 238, 0.03));
  border: 1px solid rgba(248, 245, 238, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.testimonials__tag {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.testimonials__right {
  flex: 0 0 min(60%, 720px);
  position: relative;
  min-height: 100vh;
}

.ferris-stand {
  position: absolute;
  top: 50%;
  left: calc(-260px + min(900px, 64vw) / 2);
  transform: translateX(-50%);
  width: min(500px, 45vw);
  height: 60vh;
  clip-path: polygon(48% 0, 52% 0, 100% 100%, 90% 100%, 50% 12%, 10% 100%, 0 100%);
  background: linear-gradient(180deg, var(--color-accent), var(--color-primary));
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.ferris-wheel {
  --wheel-size: min(900px, 64vw);
  position: absolute;
  top: 50%;
  left: -260px;
  transform: translateY(-50%) rotate(var(--wheel-rot, 0deg));
  width: var(--wheel-size);
  height: var(--wheel-size);
  border: 4px solid rgba(158, 42, 62, 0.92);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.1s linear;
  box-shadow:
    0 0 0 40px rgba(158, 42, 62, 0.06),
    0 0 120px rgba(125, 92, 67, 0.16);
}

.ferris-wheel::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  border: 2px solid rgba(158, 42, 62, 0.4);
  border-radius: 50%;
  pointer-events: none;
}

.ferris-wheel__center {
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.ferris-spine {
  position: absolute;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(158, 42, 62, 0.95), rgba(215, 168, 110, 0.28) 50%, rgba(158, 42, 62, 0.95));
  opacity: 0.6;
}

.spines-1 {
  transform: rotate(0deg);
}

.spines-2 {
  transform: rotate(60deg);
}

.spines-3 {
  transform: rotate(120deg);
}

.ferris-cabin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(var(--wheel-size) / -2)) rotate(calc(-1 * var(--angle) - var(--wheel-rot, 0deg)));
  width: 310px;
  background: linear-gradient(180deg, rgba(45, 31, 28, 0.9), rgba(30, 22, 20, 0.88));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(248, 245, 238, 0.12);
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  text-align: left;
  border-top: 4px solid var(--color-primary);
}

.ferris-cabin p {
  font-size: 1rem;
  line-height: 1.72;
  font-style: italic;
  margin: 0;
  color: rgba(248, 245, 238, 0.88);
}

.review-text-wrap {
  position: relative;
  margin-bottom: 18px;
}

.review-text-wrap .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.read-more-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.ferris-cabin h4 {
  color: var(--color-accent);
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ── MODALS ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 8, 0.85);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  background: linear-gradient(180deg, rgba(45, 31, 28, 0.95), rgba(30, 22, 20, 0.95));
  border: 1px solid rgba(248, 245, 238, 0.12);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 85svh;
  /* Prevent it from exceeding screen bounds */
  overflow-y: auto;
  /* Allow scrolling inside the popup for long reviews */
  box-shadow: var(--shadow-strong);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  z-index: 10;
  border-top: 4px solid var(--color-primary);
}

.modal.is-active .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-text-soft);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.modal__close:hover {
  color: var(--color-text);
}

.modal__body-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(248, 245, 238, 0.88);
  font-style: italic;
  margin-top: 20px;
}

.site-footer {
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(158, 42, 62, 0.18), transparent 30%),
    linear-gradient(180deg, #1f1512 0%, #130d0b 100%);
  border-top: 1px solid rgba(248, 245, 238, 0.08);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(100px, 0.8fr) minmax(160px, 0.8fr) minmax(160px, 0.8fr);
  gap: 40px;
  padding: 72px 0 40px;
}

.site-footer__brand img {
  width: min(150px, 100%);
  margin-bottom: 18px;
}

.site-footer__brand p,
.site-footer__column p,
.site-footer__column a,
.site-footer__bottom p,
.site-footer__bottom a {
  color: rgba(248, 245, 238, 0.74);
}

.site-footer__brand p,
.site-footer__column p {
  margin: 0;
  line-height: 1.8;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__title {
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__column a,
.site-footer__bottom a {
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer__column a:hover,
.site-footer__bottom a:hover {
  color: var(--color-text);
  transform: translateY(-1px);
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(248, 245, 238, 0.14);
  background: rgba(248, 245, 238, 0.04);
  color: rgba(248, 245, 238, 0.86) !important;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
}

.site-footer__social:hover {
  transform: translateY(-2px);
  background: rgba(158, 42, 62, 0.18);
  border-color: rgba(215, 168, 110, 0.32);
  color: var(--color-text) !important;
}

.site-footer__bottom {
  border-top: 1px solid rgba(248, 245, 238, 0.08);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.94rem;
}

.site-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.subhero {
  position: relative;
  min-height: 100svh;
  height: auto;
  overflow: visible;
  display: flex;
  align-items: flex-end;
}

.subhero__media,
.subhero__veil {
  position: absolute;
  inset: 0;
}

.subhero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.subhero__veil {
  background:
    linear-gradient(180deg, rgba(23, 16, 13, 0.3) 0%, rgba(23, 16, 13, 0.62) 48%, rgba(23, 16, 13, 0.9) 100%),
    radial-gradient(circle at 18% 20%, rgba(158, 42, 62, 0.24), transparent 26%);
}

.subhero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding:
    clamp(100px, 12vh, 140px) max(24px, calc((100vw - var(--shell)) / 2)) clamp(30px, 6vh, 48px);
  box-sizing: border-box;
}

.subhero__content h1 {
  max-width: min(12ch, 100%);
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 5.2vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.subhero__content p {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(0.98rem, 1.35vw, 1.06rem);
  line-height: 1.72;
  color: rgba(248, 245, 238, 0.82);
}

.about-story,
.founder-section {
  padding: 96px 0;
}

.about-story {
  background: linear-gradient(180deg, var(--color-neutral) 0%, #f6efe5 100%);
  color: var(--color-neutral-deep);
}

.about-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: start;
}

.about-story__copy h2,
.founder-section__copy h2 {
  margin: 0 0 22px;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.about-story__copy p,
.founder-section__copy p {
  margin: 0 0 18px;
  color: var(--color-text-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}

.about-story__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 180px 220px;
  gap: 14px;
  grid-template-areas:
    "a b"
    "a c"
    "d e";
}

.about-story__card {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(56, 26, 18, 0.1);
  min-height: 0;
}

.about-story__card:nth-child(1) {
  grid-area: a;
}

.about-story__card:nth-child(2) {
  grid-area: b;
}

.about-story__card:nth-child(3) {
  grid-area: c;
}

.about-story__card:nth-child(4) {
  grid-area: d;
}

.about-story__card:nth-child(5) {
  grid-area: e;
}

/* Hide 6th card if present — 5 fills the grid perfectly */
.about-story__card:nth-child(6) {
  display: none;
}

.about-story__card img,
.founder-section__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Founder section ── */

.founder-section__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(36, 30, 27, 0.14);
  min-height: 640px;
}

.founder-section__image-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 32px;
  z-index: 2;
  background: linear-gradient(to bottom,
      rgba(22, 12, 10, 0) 0%,
      rgba(57, 21, 23, 0.15) 60%,
      rgba(122, 33, 50, 0.65) 85%,
      rgba(158, 42, 62, 0.94) 100%);
  color: white;
  pointer-events: none;
}

.founder-section__image-content h3 {
  font-size: 2rem;
  margin: 0 0 8px;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.founder-section__image-content p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 760px) {
  .about-story__gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 160px 180px;
    grid-template-areas:
      "a b"
      "a c"
      "d e";
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(15vh) scale(0.85);
  transition:
    opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Optimized animations for social cards (Instagram section) */
[data-reveal].social-card {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.92);
  transition:
    opacity 700ms cubic-bezier(0.23, 1, 0.320, 1),
    transform 700ms cubic-bezier(0.23, 1, 0.320, 1);
  will-change: transform, opacity;
}

[data-reveal].social-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Disable masonry offset during reveal animation */
[data-reveal].social-card:nth-child(even) {
  transform: translate3d(0, 24px, 0) scale(0.92);
}

[data-reveal].social-card:nth-child(even).is-visible {
  transform: translate3d(0, 24px, 0) scale(1);
}

@media (min-width: 761px) {
  .gallery-page [data-reveal] {
    transform: translateY(28px);
    transition:
      opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .gallery-page [data-reveal].is-visible {
    transform: translateY(0);
  }
}

.founder-section {
  background: linear-gradient(180deg, var(--color-neutral-alt) 0%, #e7dacb 100%);
  color: var(--color-neutral-deep);
}

.founder-section__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.services-page-main {
  background: linear-gradient(180deg, var(--color-neutral) 0%, #ecdcca 50%, var(--color-neutral-alt) 100%);
}

.service-section {
  padding: 60px 0;
  background: transparent;
  color: var(--color-neutral-deep);
  position: relative;
  overflow: hidden;
}

.service-section__bg-word {
  cursor: default;
  user-select: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 21vw, 24rem);
  font-family: "Noto Serif", serif;
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  line-height: 0.85;
}

/* Layer 1 – sits BEHIND the card; colored, visible on page background */
.service-section__bg-word--behind {
  color: var(--color-primary);
  opacity: 0.12;
  z-index: 0;
}

/* Layer 2 – sits IN FRONT of the card; dark, very faint.
   Invisible against the page bg but clearly visible against the white card. */
.service-section__bg-word--infront {
  color: #444;
  opacity: 0.045;
  z-index: 10;
}

.service-section--alt .service-section__bg-word--behind {
  color: var(--color-secondary);
}

.service-section--alt {
  background: transparent;
}

.service-section__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  grid-template-areas: "media copy";
  position: relative;
  z-index: 1;
}

.service-section__layout--reverse {
  grid-template-areas: "copy media";
  grid-template-columns: 1.2fr 0.8fr;
}

.service-section__media {
  grid-area: media;
  position: relative;
  height: 100%;
  min-height: 480px;
  max-height: 700px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Service Image Entrance Overrides */
[data-reveal].service-section__media {
  transform: translateX(-15vw) scale(0.95);
}

.service-section--alt [data-reveal].service-section__media {
  transform: translateX(15vw) scale(0.95);
}

[data-reveal].is-visible.service-section__media {
  transform: translateX(0) scale(1);
}

.service-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
}

.service-section__media:hover img {
  transform: scale(1.06);
  filter: saturate(1.04);
}

.service-section__copy {
  grid-area: copy;
  background: #ffffff;
  padding: 56px 60px;
  border-radius: var(--radius-xl);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform-origin: center center;
}

/* Untranslatable-style Entrance Animation */
[data-service-card] {
  opacity: 0;
  transform: translateY(15vh) scale(0.85);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1), transform 1200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1200ms ease;
}

[data-service-card].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 40px 50px -20px rgba(0, 0, 0, 0.2);
}

.service-section__copy h2 {
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.service-section__copy p {
  margin: 0 0 16px;
  color: var(--color-text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.service-section__copy p strong,
.about-story__copy p strong,
.founder-section__copy p strong {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-categories--detailed {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-section__included-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--color-neutral-deep);
  margin-top: 16px;
  opacity: 0.6;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(158, 42, 62, 0.08);
  /* Lighter shade of primary */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(158, 42, 62, 0.15);
  border-radius: 999px;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
  box-shadow: none;
}

.category-pill svg {
  width: 17px;
  height: 17px;
  color: var(--color-primary);
}

.category-pill:hover {
  transform: translateY(-2px);
  background: rgba(158, 42, 62, 0.15);
  border-color: rgba(158, 42, 62, 0.25);
  box-shadow: 0 4px 12px rgba(158, 42, 62, 0.08);
}

.service-section--alt .category-pill {
  color: var(--color-secondary);
  background: rgba(125, 92, 67, 0.08);
  border-color: rgba(125, 92, 67, 0.15);
}

.service-section--alt .category-pill svg {
  color: var(--color-secondary);
}

.service-section--alt .category-pill:hover {
  background: rgba(125, 92, 67, 0.15);
  border-color: rgba(125, 92, 67, 0.25);
  box-shadow: 0 4px 12px rgba(125, 92, 67, 0.08);
}

.topbar--dark {
  background:
    linear-gradient(180deg, rgba(27, 19, 17, 0.94), rgba(27, 19, 17, 0.88)),
    radial-gradient(circle at top, rgba(158, 42, 62, 0.18), transparent 55%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(248, 245, 238, 0.08);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  color: var(--color-text);
}

.topbar--dark .topbar__links a,
.topbar--dark .brand,
.topbar--dark .brand img {
  color: var(--color-text);
}

.gallery-page {
  background:
    radial-gradient(circle at top left, rgba(158, 42, 62, 0.16), transparent 28%),
    linear-gradient(180deg, #f8f5ee 0%, #efe5da 100%);
  color: var(--color-neutral-deep);
}

.gallery-main {
  padding-top: 130px;
}

.gallery-profile {
  padding: 24px 0 16px;
}

.gallery-profile__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.gallery-profile__intro {
  order: 1;
  /* Moves intro to the left */
}

.gallery-profile__stats {
  order: 2;
  /* Moves stats to the right */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  grid-auto-rows: 1fr;
}

/* Make the last odd stat span across columns to look presentable */
.gallery-profile__stats div:last-child:nth-child(even) {
  grid-column: auto;
}

.gallery-profile__stats div:last-child {
  grid-column: 1 / -1;
}

.gallery-profile__intro .eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
}

.gallery-profile__intro h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--color-neutral-deep);
}

.gallery-profile__intro p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.82;
  max-width: 50ch;
}

.gallery-profile__stats div {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(125, 92, 67, 0.12);
  box-shadow: 0 16px 34px rgba(77, 53, 38, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-profile__stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.8rem;
  color: var(--color-primary);
}

.gallery-profile__stats span {
  color: var(--color-neutral-deep);
  font-weight: 500;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero__bottom {
    padding: 0 0 16px;
    gap: 16px;
    width: 100%;
  }

  .hero__copy {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .hero__copy h1 {
    font-size: clamp(2rem, 7.5vw, 3.5rem);
    line-height: 1.15;
  }

  .hero__lede {
    max-width: 100%;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  }

  .hero__glass-card {
    width: 100%;
    padding: 20px;
    flex-shrink: 1;
    border-radius: 16px;
  }

  .testimonials__layout {
    padding-left: 20px;
    gap: 20px;
  }

  .testimonials__left {
    flex-basis: min(320px, 32%);
    min-height: 100vh;
  }

  .testimonials__left h2 {
    font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  }

  .testimonials__right {
    flex-basis: min(55%, 500px);
  }

  .ferris-wheel {
    --wheel-size: min(520px, 50vw);
    left: -160px;
  }

  .ferris-stand {
    left: calc(-160px + min(520px, 50vw) / 2);
  }

  .ferris-cabin {
    width: 240px;
    font-size: 0.9rem;
  }

  .gallery-profile__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-profile__intro {
    order: -1;
  }

  .topbar__links.is-open {
    z-index: 45;
  }

  .gallery-filters-float {
    z-index: 40;
  }
}

.gallery-highlights {
  padding: 10px 0 12px;
}

.gallery-media-switch {
  padding: 2px 0 8px;
  display: flex;
  justify-content: center;
}

.gallery-media-tabs-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.gallery-media-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(125, 92, 67, 0.15);
  box-shadow: 0 10px 24px rgba(77, 53, 38, 0.08);
}

.gallery-media-tab {
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--color-neutral-deep);
  background: transparent;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-media-tab:hover {
  transform: translateY(-1px);
  background: rgba(158, 42, 62, 0.1);
}

.gallery-media-tab.is-active {
  color: #fff;
  background: var(--color-primary);
}

.gallery-highlights__rail {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 0 10px;
  scrollbar-width: none;
}

.gallery-highlights__rail::-webkit-scrollbar {
  display: none;
}

.story-highlight {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--color-neutral-deep);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 92px;
  transition: transform 180ms ease;
}

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

.story-highlight__ring {
  width: 88px;
  height: 88px;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9e2a3e, #d7735c 50%, #7d5c43 100%);
  box-shadow: 0 14px 26px rgba(158, 42, 62, 0.18);
}

.story-highlight__ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  border: 4px solid #f8f5ee;
}

.story-highlight span:last-child {
  font-size: 0.92rem;
  font-weight: 600;
}

.story-highlight.is-active .story-highlight__ring {
  box-shadow: 0 18px 32px rgba(158, 42, 62, 0.26);
}

.gallery-feed {
  padding: 24px 0 92px;
}

.gallery-feed-panel {
  display: none;
}

.gallery-feed-panel.is-active {
  display: block;
}

/* ── Floating category filter panel ── */
.gallery-filters-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 49;
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  pointer-events: none;
}

/* The thin tab that is always visible */
.gallery-filters-float__tab {
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 30, 27, 0.72);
  backdrop-filter: blur(14px);
  border-radius: 12px 0 0 12px;
  color: rgba(248, 245, 238, 0.8);
  cursor: pointer;
  transition: background 260ms ease, color 260ms ease, border-radius 260ms ease;
  pointer-events: auto;
}

.gallery-filters-float:hover .gallery-filters-float__tab {
  background: rgba(36, 30, 27, 0.9);
  color: #fff;
  border-radius: 0;
}

/* The panel that slides in */
.gallery-filters-float__panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px 20px 18px;
  min-width: 180px;
  background: rgba(36, 30, 27, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(248, 245, 238, 0.1);
  border-right: none;
  border-radius: 16px 0 0 16px;
  margin-right: -1px;
  /* Overlap slightly with tab to eliminate pixel gap */
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.22);
  clip-path: inset(0 0 0 100%);
  opacity: 0;
  transition: clip-path 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 320ms ease;
}

.gallery-filters-float:hover .gallery-filters-float__panel {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  pointer-events: auto;
}

.gallery-filters-float__title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent, #d7a86e);
  margin-bottom: 10px;
  padding-left: 4px;
}

.gallery-filter-float {
  border: none;
  background: transparent;
  color: rgba(248, 245, 238, 0.7);
  padding: 10px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-filter-float:hover {
  background: rgba(248, 245, 238, 0.08);
  color: #fff;
  transform: translateX(-2px);
}

.gallery-filter-float.is-active {
  background: rgba(158, 42, 62, 0.28);
  color: #fff;
  font-weight: 700;
  border-left: 3px solid var(--color-primary, #9e2a3e);
  padding-left: 11px;
}

/* Hide the floating panel on the gallery page when not scrolled into the feed area — handled by JS */
.gallery-filters-float.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 38px rgba(77, 53, 38, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 320px 320px;
  contain: layout paint;
}

.gallery-card.is-loading {
  background: linear-gradient(110deg, #ece3d8 8%, #f5efe8 18%, #ece3d8 33%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 400ms ease, transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card img.is-loaded {
  opacity: 1;
}

.gallery-card.is-loaded {
  animation: none;
  background: rgba(255, 255, 255, 0.5);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(77, 53, 38, 0.15);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card[data-gallery-type="video"]::after {
  content: "";
  position: absolute;
  inset: auto auto 14px 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(18, 12, 10, 0.7);
  box-shadow: 0 8px 20px rgba(18, 12, 10, 0.35);
  pointer-events: none;
}

.gallery-card[data-gallery-type="video"]::before {
  content: "";
  position: absolute;
  left: 31px;
  bottom: 28px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  z-index: 1;
  pointer-events: none;
}

.gallery-card.is-hidden {
  display: none;
}

/* ── Empty State ── */
.gallery-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 60px 20px;
  text-align: center;
}

.gallery-empty-state__content {
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gallery-empty-state__icon {
  width: 100px;
  height: 100px;
  color: var(--color-primary);
  opacity: 0.6;
}

.gallery-empty-state__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-neutral-deep);
  margin: 0;
  letter-spacing: -0.02em;
}

.gallery-empty-state__text {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.6;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 118;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 6, 0.92);
}

.gallery-lightbox__dialog {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  max-height: calc(100svh - 48px);
  border-radius: 28px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(31, 21, 18, 0.96), rgba(18, 12, 10, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.gallery-lightbox__topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--color-text);
}

.gallery-lightbox__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-lightbox__label {
  font-size: 0.96rem;
  font-weight: 700;
}

.gallery-lightbox__count {
  font-size: 0.82rem;
  color: rgba(248, 245, 238, 0.7);
}

.gallery-lightbox__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-lightbox__action-btn {
  border: 1px solid rgba(248, 245, 238, 0.14);
  background: rgba(248, 245, 238, 0.06);
  color: var(--color-text);
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  font: inherit;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease;
}

.gallery-lightbox__action-btn:hover {
  background: rgba(248, 245, 238, 0.12);
  border-color: rgba(248, 245, 238, 0.28);
}

.gallery-lightbox__action-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.gallery-lightbox__frame {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #120c0a;
  aspect-ratio: 16 / 10;
}

.gallery-lightbox__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #120c0a;
  opacity: 1;
  transition: opacity 220ms ease;
}

.gallery-lightbox__image.is-loading {
  opacity: 0.3;
}

.gallery-lightbox__video {
  width: 100%;
  height: 100%;
  display: none;
  object-fit: contain;
  background: #120c0a;
}

.gallery-lightbox__video.is-visible {
  display: block;
}

.gallery-lightbox__nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

.gallery-lightbox__nav::before,
.gallery-lightbox__nav::after {
  pointer-events: auto;
}

.gallery-lightbox__nav:disabled,
.story-viewer__nav:disabled {
  cursor: default;
  pointer-events: none;
}

.gallery-lightbox__nav--prev {
  left: 0;
}

.gallery-lightbox__nav--next {
  right: 0;
}

.gallery-lightbox__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(18, 12, 10, 0.62);
  border: 1px solid rgba(248, 245, 238, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
}

.gallery-lightbox__nav::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(248, 245, 238, 0.92);
  border-right: 2px solid rgba(248, 245, 238, 0.92);
  transform: translateY(-50%) rotate(45deg);
}

.gallery-lightbox__nav--prev::before {
  left: 18px;
}

.gallery-lightbox__nav--prev::after {
  left: 37px;
  transform: translateY(-50%) rotate(-135deg);
}

.gallery-lightbox__nav--next::before {
  right: 18px;
}

.gallery-lightbox__nav--next::after {
  right: 37px;
}

.gallery-lightbox__nav:disabled::before,
.gallery-lightbox__nav:disabled::after {
  opacity: 0.3;
}

/* ── Lightbox Progress Bar (Slideshow) ── */
.gallery-lightbox__progress {
  flex-shrink: 0;
  display: none;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  margin-bottom: 12px;
}

.gallery-lightbox.is-slideshow .gallery-lightbox__progress {
  display: grid;
}

.gallery-lightbox__progress span {
  position: relative;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(248, 245, 238, 0.18);
}

.gallery-lightbox__progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: rgba(248, 245, 238, 0.92);
  border-radius: inherit;
  transition: transform 80ms linear;
}

/* ── Lightbox Thumbnail Rail ── */
.gallery-lightbox__thumbs {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  min-height: 72px;
  padding: 12px 4px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(248, 245, 238, 0.2) transparent;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

.gallery-lightbox__thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-lightbox__thumbs::-webkit-scrollbar-thumb {
  background: rgba(248, 245, 238, 0.2);
  border-radius: 4px;
}

.gallery-lightbox__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gallery-lightbox__thumb:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.gallery-lightbox__thumb.is-active {
  opacity: 1;
  border-color: var(--color-primary);
}

.gallery-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-lightbox__thumb img.is-loaded {
  opacity: 1;
}

.story-viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.story-viewer.is-open {
  opacity: 1;
  visibility: visible;
}

.story-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 8, 7, 0.9);
}

.story-viewer__dialog {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  border-radius: 28px;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(31, 21, 18, 0.96), rgba(18, 12, 10, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  color: var(--color-text);
}

.story-viewer__progress {
  flex-shrink: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  margin-bottom: 14px;
}

.story-viewer__progress span {
  position: relative;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(248, 245, 238, 0.18);
}

.story-viewer__progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: rgba(248, 245, 238, 0.96);
  border-radius: inherit;
  transition: transform 90ms linear;
}

.story-viewer__topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.story-viewer__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.story-viewer__label {
  font-size: 0.96rem;
  font-weight: 700;
}

.story-viewer__count {
  font-size: 0.82rem;
  color: rgba(248, 245, 238, 0.7);
}

.story-viewer__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-viewer__icon {
  border: 1px solid rgba(248, 245, 238, 0.14);
  background: rgba(248, 245, 238, 0.06);
  color: var(--color-text);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font: inherit;
  cursor: pointer;
}

.story-viewer__frame {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #120c0a;
  aspect-ratio: 9 / 16;
}

.story-viewer__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
  transition: opacity 220ms ease;
}

.story-viewer__image.is-loading {
  opacity: 0.35;
}

.story-viewer__nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}

.story-viewer__nav:disabled {
  opacity: 0.22;
}

.story-viewer__nav--prev {
  left: 0;
}

.story-viewer__nav--next {
  right: 0;
}

@media (min-width: 901px) {
  .story-viewer__dialog {
    width: min(980px, calc(100vw - 64px));
    padding: 16px 16px 18px;
  }

  .story-viewer__frame {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1600px) {
  .testimonials__layout {
    justify-content: center;
    gap: clamp(20px, 2vw, 40px);
  }

  .testimonials__left {
    margin-left: 150px;
    flex-basis: min(420px, 30%);
  }

  .testimonials__right {
    flex-basis: min(58%, 760px);
  }

  .ferris-wheel {
    left: -180px;
  }

  .ferris-stand {
    left: calc(-180px + min(900px, 64vw) / 2);
  }
}

@media (max-width: 1180px) {

  .testimonials__layout {
    padding-left: 24px;
    gap: 24px;
  }

  .testimonials__left {
    flex-basis: min(390px, 36%);
    min-height: 100vh;
  }

  .testimonials__right {
    flex-basis: min(60%, 600px);
  }

  .ferris-wheel {
    --wheel-size: min(760px, 66vw);
    left: -220px;
  }

  .ferris-stand {
    left: calc(-220px + min(760px, 66vw) / 2);
  }

  .ferris-cabin {
    width: 270px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(var(--wheel-size) / -2)) rotate(calc(-1 * var(--angle) - var(--wheel-rot, 0deg)));
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .about-story__layout,
  .founder-section__layout {
    grid-template-columns: 1fr;
  }

  .founder-section__image-wrap {
    min-height: 520px;
  }

  .service-section__layout,
  .service-section__layout--reverse {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy";
  }

  .service-section__media {
    height: 420px;
  }

  .gallery-profile__stats {
    max-width: 560px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 1080px) {
  .testimonials {
    height: auto;
    padding: 110px 0 80px;
  }

  .testimonials::after {
    display: none;
  }

  .testimonials__sticky {
    position: relative;
    top: auto;
    height: auto;
    padding: 0;
  }

  .testimonials__layout {
    flex-direction: column-reverse;
    /* Puts the text at the top and wheel at bottom */
    align-items: center;
    /* Center horizontally */
    text-align: center;
    /* Center text */
    padding: 0 max(16px, calc((100vw - var(--shell)) / 2));
    gap: 60px;
    /* Gap between text and wheel */
  }

  .testimonials__left {
    flex: none;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 640px;
  }

  .testimonials__left h2 {
    max-width: none;
  }

  .testimonials__lead {
    margin: 0 auto;
  }

  .testimonials__right {
    width: 100%;
    min-height: calc(min(720px, 92vw) + 120px);
    position: relative;
    display: flex;
    justify-content: center;
  }

  .ferris-wheel {
    right: auto;
    left: 50%;
    top: 50%;
    width: min(720px, 92vw);
    height: min(720px, 92vw);
    transform: translate(-50%, -50%) rotate(var(--wheel-rot, 0deg));
  }

  .ferris-stand {
    left: 50%;
    width: min(540px, 80vw);
    height: 50vh;
    opacity: 0.25;
  }

  .ferris-cabin {
    width: min(250px, 32vw);
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(min(720px, 92vw) / -2)) rotate(calc(-1 * var(--angle) - var(--wheel-rot, 0deg)));
  }

  .ferris-cabin:has(.read-more-btn) {
    cursor: pointer;
  }

  .read-more-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
  }

  .site-footer__inner {
    padding: 60px 0 32px;
  }

  .subhero__content {
    padding:
      138px max(24px, calc((100vw - var(--shell)) / 2)) 52px;
  }

  .about-story,
  .founder-section {
    padding: 76px 0;
  }

  .service-section {
    padding: 76px 0;
  }

  .gallery-main {
    padding-top: 136px;
  }
}

@media (max-width: 760px) {
  .categories {
    padding: 80px 0;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .categories__intro {
    margin-bottom: 40px;
  }

  .testimonials {
    padding: 96px 0 0 0;
  }

  .testimonials__layout {
    padding: 0;
  }

  .testimonials__left h2 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .testimonials__left p {
    font-size: 0.98rem;
    margin-bottom: 35px;
  }

  .testimonials__copy-card {
    max-width: none;
  }

  .testimonials__right {
    min-height: 620px;
  }

  .ferris-wheel {
    width: 560px;
    height: 560px;
    top: 52%;
  }

  .ferris-cabin {
    width: 190px;
    padding: 18px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-280px) rotate(calc(-1 * var(--angle) - var(--wheel-rot, 0deg)));
  }

  .ferris-cabin p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .ferris-cabin h4 {
    font-size: 0.78rem;
    letter-spacing: 1.4px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0 28px;
  }

  .site-footer__bottom-inner,
  .site-footer__bottom-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__bottom-links {
    gap: 10px;
  }

  .subhero {
    min-height: 100svh;
    height: auto;
  }

  .subhero__content {
    padding: 90px 20px 30px;
  }

  .subhero__content h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 9vw, 3.4rem);
  }

  .subhero__content p,
  .about-story__copy p,
  .founder-section__copy p {
    font-size: 0.98rem;
  }

  .about-story,
  .founder-section {
    padding: 60px 0;
  }

  .about-story__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .about-story__card {
    min-height: 260px;
    aspect-ratio: auto;
  }

  .founder-section__image-wrap {
    min-height: 380px;
  }

  .service-section {
    padding: 60px 0;
  }

  .service-section__layout,
  .service-section__layout--reverse {
    gap: 26px;
  }

  .service-section__media {
    height: 300px;
  }

  .service-section__copy h2 {
    max-width: none;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .service-section__copy p {
    font-size: 0.98rem;
  }

  .gallery-main {
    padding-top: 126px;
  }

  .gallery-profile {
    padding: 28px 0 16px;
  }

  .gallery-profile__intro h1 {
    max-width: none;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .gallery-profile__stats {
    flex-direction: column;
  }

  .gallery-highlights__rail {
    gap: 16px;
  }

  .gallery-media-tabs {
    width: 70%;
    justify-content: space-between;
  }

  .gallery-media-tab {
    flex: 1;
    text-align: center;
  }

  .story-highlight {
    min-width: 76px;
  }

  .story-highlight__ring {
    width: 74px;
    height: 74px;
  }

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


  .story-viewer {
    padding: 12px;
  }

  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox__dialog {
    width: min(100%, 920px);
    max-width: 100%;
    max-height: calc(100svh - 24px);
    border-radius: 22px;
    padding: 12px;
  }

  .gallery-lightbox__frame {
    aspect-ratio: 4 / 5;
    flex: 1;
    min-height: 0;
    /* Maintain fixed dimensions on mobile like story viewer */
  }

  .gallery-lightbox__thumb {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }

  .gallery-lightbox__thumbs {
    min-height: 58px;
    padding: 8px 2px 2px;
    gap: 6px;
  }

  .story-viewer__dialog {
    width: min(100%, 420px);
    max-height: calc(100svh - 24px);
    border-radius: 22px;
    padding: 12px 12px 14px;
  }
}

@media (max-width: 900px) {
  .gallery-filters-float:hover .gallery-filters-float__tab {
    background: rgba(36, 30, 27, 0.72);
    color: rgba(248, 245, 238, 0.8);
    border-radius: 12px 0 0 12px;
  }

  .gallery-filters-float:hover .gallery-filters-float__panel {
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    pointer-events: none;
  }

  .gallery-filters-float.is-open .gallery-filters-float__tab {
    background: rgba(36, 30, 27, 0.9);
    color: #fff;
    border-radius: 0;
  }

  .gallery-filters-float.is-open .gallery-filters-float__panel {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */

.contact-page {
  background:
    radial-gradient(circle at top left, rgba(158, 42, 62, 0.14), transparent 28%),
    linear-gradient(180deg, #f8f5ee 0%, #efe5da 100%);
  color: var(--color-neutral-deep);
}

.subhero--compact {
  height: 60svh;
  min-height: 420px;
}

.contact-section {
  padding: 35px 0;
}

.contact-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── Contact Info Side ── */

.contact-section__info h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-neutral-deep);
}

.contact-section__info>p {
  margin: 0 0 36px;
  color: var(--color-text-soft);
  font-size: 1.02rem;
  line-height: 1.82;
  max-width: 48ch;
}

.contact-section__info .eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-neutral-deep);
  border-color: rgba(158, 42, 62, 0.3);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(125, 92, 67, 0.1);
  box-shadow: 0 10px 30px rgba(56, 26, 18, 0.06);
  text-decoration: none;
  color: var(--color-neutral-deep);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(56, 26, 18, 0.12);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), #c73a54);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.contact-card__icon--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-card__label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.contact-card__value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-neutral-deep);
  line-height: 1.5;
  word-break: break-word;
}

/* ── Social Links ── */

.contact-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-socials__label {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
}

.contact-socials__icons {
  display: flex;
  gap: 10px;
}

.contact-social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(36, 30, 27, 0.06);
  border: 1px solid rgba(125, 92, 67, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
}

.contact-social-link svg {
  width: 20px;
  height: 20px;
  color: var(--color-neutral-deep);
}

.contact-social-link:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.contact-social-link:hover svg {
  color: #fff;
}

/* ── Contact Form ── */

.contact-section__form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(125, 92, 67, 0.08);
}

.contact-form h3 {
  margin: 0 0 32px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-neutral-deep);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-form__field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-neutral-deep);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(125, 92, 67, 0.18);
  border-radius: 14px;
  background: rgba(248, 245, 238, 0.4);
  color: var(--color-neutral-deep);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  outline: none;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(158, 42, 62, 0.1);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(36, 30, 27, 0.35);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23241e1b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
}

.contact-form__submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 25px;
  margin-top: 8px;
  cursor: pointer;
  border: none;
  background: var(--color-neutral-deep);
  color: var(--color-neutral);
  transition: transform 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-form__submit::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 250%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.65s ease;
  z-index: -1;
  pointer-events: none;
}

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

.contact-form__submit:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* ── Map Section ── */

.contact-map-section {
  padding: 0 0 96px;
}

.contact-map__header {
  text-align: center;
  margin-bottom: 36px;
}

.contact-map__header .eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--color-neutral-deep);
  border-color: rgba(158, 42, 62, 0.3);
}

.contact-map__header h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--color-neutral-deep);
}

.contact-map__frame {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  max-width: var(--shell);
  margin: 0 auto;
}

.contact-map__frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Contact Page Responsive ── */

@media (max-width: 900px) {
  .contact-section__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-section__form-wrap {
    padding: 32px 24px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-map__frame {
    height: 320px;
    border-radius: 22px;
  }
}

@media (max-width: 600px) {
  .subhero--compact {
    height: 50svh;
    min-height: 360px;
  }

  .contact-section {
    padding: 64px 0;
  }

  .contact-socials {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ── Contact Page Specific Hero & Header Fixes ── */

.contact-main {
  padding-top: 130px;
}

.contact-hero {
  padding-bottom: 24px;
  margin-top: 30px;
}

.contact-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 5.2vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--color-neutral-deep);
  max-width: 15ch;
}

.contact-hero p {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(0.98rem, 1.35vw, 1.06rem);
  line-height: 1.72;
  color: var(--color-text-soft);
}

.contact-hero .eyebrow,
.contact-section__info .eyebrow,
.contact-map__header .eyebrow {
  color: var(--color-accent);
  border-color: rgba(158, 42, 62, 0.3);
}

/* Send Message Button */
.contact-form__submit {
  display: block;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.fs-field-error {
  display: block;
  color: var(--color-primary);
  font-size: 0.85rem;
  margin-top: 6px;
  font-weight: 500;
}

.form-success-banner:empty,
.form-error-banner:empty {
  display: none;
}

.form-success-banner:not(:empty) {
  background: var(--color-tertiary) !important;
  color: #fff !important;
  padding: 16px !important;
  border-radius: 6px;
  margin-top: 8px;
  font-weight: 500;
  text-align: center;
  font-size: 1.05rem;
  width: 100%;
}

.contact-form:has(.form-success-banner:not(:empty)) .contact-form__submit {
  display: none !important;
}

.form-error-banner:not(:empty) {
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 500;
}

/* ── SOCIAL FEED INSTAGRAM (Home Page) ── */
.social-feed {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-neutral) 0%, var(--color-neutral-alt) 100%);
  position: relative;
  overflow: hidden;
}

.social-feed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(158, 42, 62, 0.04), transparent 70%);
  pointer-events: none;
}

.social-feed__header {
  text-align: center;
  margin-bottom: 60px;
}

.social-feed__header .eyebrow {
  margin-bottom: 20px;
  display: inline-flex;
}

.social-feed__header h2 {
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  margin: 0 0 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-neutral-deep);
}

.social-feed__header p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  max-width: 50ch;
  margin: 0 auto 30px;
}

.social-feed__header .button--dark {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  vertical-align: middle;
}

.social-feed__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: center;
}

.social-card--clone {
  display: none !important;
}

.social-card {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.social-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(158, 42, 62, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.social-card:hover::after {
  opacity: 1;
}

.social-card__img {
  width: 100%;
  height: 100%;
}

.social-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.social-card:hover .social-card__img img {
  transform: scale(1.08);
}

/* Staggered masonry effect for the grid */
.social-card:nth-child(even) {
  transform: translateY(24px);
}

.social-card:nth-child(even):hover {
  transform: translateY(16px) scale(1.02);
}

@media (max-width: 900px) {

  /* ... Previous contents ... */
  .social-feed {
    padding: 60px 0;
    overflow: hidden;
    /* Hide horizontal overflow for marquee */
  }

  .social-feed__grid {
    display: flex;
    width: max-content;
    animation: marqueeMobile 20s linear infinite;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .social-card:nth-child(even) {
    margin-top: 32px;
  }

  .social-card:nth-child(odd) {
    margin-top: -12px;
  }

  .social-card {
    width: 240px;
    flex-shrink: 0;
  }

  .social-card--clone {
    display: block !important;
  }

  /* Disable data-reveal slide-in functionality entirely for marquee */
  [data-reveal].social-card {
    opacity: 1 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
  }

  [data-reveal].social-card:hover {
    transform: scale(1.02) !important;
  }
}

@keyframes marqueeMobile {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
    /* Moves half the width + half the gap */
  }
}

/* ─── Global Mobile Navigation (Hamburger) ─── */
.topbar__menu-toggle {
  display: none;
  /* hidden on desktop */
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 100;
  flex-shrink: 0;
}

.topbar__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger to X animation */
.topbar__menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topbar__menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

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

.mobile-only-action {
  display: none;
}

@media (max-width: 900px) {
  .topbar {
    padding: 16px max(16px, calc((100vw - var(--shell)) / 2));
    flex-wrap: nowrap;
    /* Prevent breaking lines on mobile */
  }

  .topbar__menu-toggle {
    display: flex;
  }

  .topbar__actions {
    display: none;
    /* Hide primary desktop contact button */
  }

  /* The mobile menu overlay container */
  .topbar__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 80vw);
    height: 100svh;
    background: linear-gradient(180deg, rgba(27, 19, 17, 0.98), rgba(27, 19, 17, 0.95));
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px 30px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    order: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    overflow-y: auto;
    overflow-x: hidden;
  }

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

  .topbar__links a {
    font-size: 1.25rem;
    padding: 0;
    width: 100%;
  }

  .topbar__links a:hover,
  .topbar__links a.active {
    background: transparent;
    color: var(--color-accent);
  }

  /* Keep subhero copy visible on first paint when intersection reveal is delayed on mobile */
  .subhero__content [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .topbar--dark .topbar__links a.button--solid,
  .topbar--dark .topbar__links a.button--solid:hover,
  .topbar--dark .topbar__links a.button--solid:focus-visible {
    color: #111;
    background: #fff;
  }

  .mobile-only-action {
    display: flex;
    padding-top: 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-only-action .button {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 16px;
    font-size: 1.1rem;
    font-weight: 600;
  }

  .topbar--dark .mobile-only-action .button--solid,
  .topbar--dark .mobile-only-action .button--solid:hover,
  .topbar--dark .mobile-only-action .button--solid:focus-visible {
    color: #111;
    background: #fff;
    width: 100%;
  }

  body.menu-open {
    overflow: hidden;
  }
}