/* ---- motion.css ---- */
.outcome-tags span {
  --tilt: -3deg;
  transform: rotate(var(--tilt));
  animation: tag-shake 3.1s ease-in-out infinite;
}

.outcome-tags span:nth-child(2) { --tilt: 3deg; animation-delay: .4s; }
.outcome-tags span:nth-child(3) { --tilt: -1deg; animation-delay: .8s; }
.outcome-tags span:nth-child(4) { --tilt: 2deg; animation-delay: 1.2s; }

@keyframes tag-shake {
  0%, 82%, 100% { transform: rotate(var(--tilt)) translateX(0); }
  86% { transform: rotate(calc(var(--tilt) + 2deg)) translateX(-2px); }
  90% { transform: rotate(calc(var(--tilt) - 2deg)) translateX(3px); }
  94% { transform: rotate(calc(var(--tilt) + 1deg)) translateX(-1px); }
}

/* ---- services.css ---- */
.service-section { padding: 130px 7vw; background: #ece9e5; }
.service-phrase { max-width: 1080px; margin: 0 0 88px; font: 600 clamp(47px, 6vw, 94px)/.98 'Manrope'; letter-spacing: -.08em; text-transform: uppercase; }
.service-phrase span { display: inline-block; opacity: 0; transform: translateY(36px); color: var(--ink); }
.service-section.is-visible .service-phrase span { animation: service-letter-pop .42s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--service-word) * 35ms); }
.service-list { display: grid; gap: 12px; }
.service-row { min-height: 185px; border-radius: 20px; background: #fff; padding: 44px 4vw; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; opacity: 0; transform: translateY(42px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.service-row:nth-child(2) { background: #dedadc; transition-delay: .13s; }
.service-row:nth-child(3) { transition-delay: .26s; }
.service-row.is-visible { opacity: 1; transform: translateY(0); }
.service-row h3 { margin: 0; color: var(--wine); font: 600 clamp(34px, 4vw, 62px)/.96 'Manrope'; letter-spacing: -.07em; }
.service-row p { max-width: 570px; margin: 0; font-size: 16px; line-height: 1.6; }
.final-contact { padding: 115px 7vw; background: var(--cream); text-align: center; }
.final-contact p { margin: 0 0 26px; font: 500 clamp(34px, 4.2vw, 67px)/.95 'Manrope'; letter-spacing: -.07em; }
@keyframes service-letter-pop { to { opacity: 1; transform: translateY(0); } }
@media(max-width:760px) { .service-section { padding: 80px 24px; } .service-phrase { margin-bottom: 52px; font-size: 47px; } .service-row { min-height: 0; display: block; padding: 31px 26px; } .service-row h3 { margin-bottom: 21px; font-size: 38px; } .service-row p { font-size: 14px; } .final-contact { padding: 80px 24px; } }

/* ---- partners.css ---- */
.hero-visual { right: 1vw; width: 52%; }
.hero-visual > img { transform: none; }
.partner-marquee { padding: 51px 0; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.partner-marquee > p { margin: 0 7vw 24px; font: 10px 'DM Mono'; text-transform: uppercase; letter-spacing: .08em; }
.partner-window { overflow: hidden; }
.partner-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: partner-scroll 42s linear infinite; padding-left: 36px; }
.partner-track img { width: 125px; height: 48px; object-fit: contain; opacity: 1; }
.partner-track img[src*="social_minds"] { width: 200px; }
@keyframes partner-scroll { to { transform: translateX(-50%); } }
@media(max-width:760px) { .hero-visual { right: auto; width: 100%; } .hero-visual > img { transform: none; } .partner-marquee { padding: 37px 0; } .partner-track { gap: 43px; } .partner-track img { width: 100px; height: 38px; } .partner-track img[src*="social_minds"] { width: 150px; } }

/* ---- reviews.css ---- */
.review-section { padding: 120px 7vw; background: #eeece8; }
.review-head { display: flex; justify-content: space-between; gap: 50px; align-items: center; margin-bottom: 65px; }
.review-head h2 { margin: 0; font: 600 clamp(45px, 5.8vw, 87px)/.94 'Manrope'; letter-spacing: -.08em; text-transform: uppercase; }
.review-head h2 em { color: var(--wine); font-style: normal; }
.review-head a { flex: none; border-radius: 100px; padding: 15px 22px; background: var(--wine); color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; }
.review-head a span { margin-left: 10px; font-size: 17px; }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1250px; margin: auto; }
.review-card { min-height: 315px; padding: 26px 27px 21px; background: #fff; border: 1px solid #d9d5d3; border-radius: 10px; display: flex; flex-direction: column; }
.review-profile { display: flex; align-items: center; gap: 10px; }
.review-profile b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wine); color: #fff; font-size: 13px; }
.review-profile strong { font-size: 13px; }
.review-profile span { margin-left: auto; color: #4285f4; font: 700 23px 'Manrope'; }
.stars { margin: 17px 0; color: #f2bf26; font-size: 22px; letter-spacing: 3px; }
.review-card > p { font-size: 15px; line-height: 1.58; margin: 0; }
.review-card footer { margin-top: auto; padding-top: 18px; border-top: 1px solid #e3e0de; display: flex; justify-content: space-between; color: #7d7977; font-size: 10px; background: transparent; }
.review-card footer time { color: #f2bf26; letter-spacing: 1px; }
@media(max-width:760px) { .review-section { padding: 80px 24px; } .review-head { display: block; margin-bottom: 43px; } .review-head h2 { font-size: 51px; margin-bottom: 28px; } .review-cards { grid-template-columns: 1fr; } .review-card { min-height: 270px; } }

/* ---- process.css ---- */
.feature-process { display: grid; grid-template-columns: 1fr 1.05fr; gap: 8vw; align-items: start; padding: 132px 7vw; min-height: 760px; background: #ece9e5; }
.process-heading { align-self: start; position: sticky; top: 110px; }
.process-heading h2 { margin: 0; font: 600 clamp(50px, 6vw, 96px)/.92 'Manrope'; letter-spacing: -.085em; text-transform: uppercase; }
.process-heading h2 em { color: var(--wine); font-style: normal; }
.process-steps { display: block; min-width: 0; padding-bottom: 22vh; }
.process-step { position: sticky; top: 122px; min-height: 178px; margin-bottom: 48vh; padding: 36px 42px; display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start; background: #fff; border: 1px solid #e1ddda; border-radius: 18px; transform-origin: top center; transform: perspective(900px) rotateX(-68deg) translate3d(0,32px,0); opacity: 0; transition: transform .62s cubic-bezier(.16, 1, .3, 1), opacity .4s ease; box-shadow: 0 10px 25px #31101d12; }
.feature-process.is-visible .process-step { transform: perspective(850px) rotateX(0) translateY(0); opacity: 1; }
.feature-process.is-visible .process-step:nth-child(2) { transition-delay: .12s; }
.feature-process.is-visible .process-step:nth-child(3) { transition-delay: .24s; }
.feature-process.is-visible .process-step:nth-child(4) { transition-delay: .36s; }
.feature-process.is-visible .process-step.is-folding { transition: none; box-shadow: 0 3px 10px #31101d0d; }
.feature-process.is-process-active .process-step { will-change: transform, opacity; backface-visibility: hidden; }
.process-step:nth-child(1) { z-index: 1; }
.process-step:nth-child(2) { z-index: 2; }
.process-step:nth-child(3) { z-index: 3; }
.process-step:nth-child(4) { z-index: 4; margin-bottom: 0; }
.process-step b { color: var(--wine); font: 600 clamp(48px, 5vw, 76px)/.86 'Manrope'; letter-spacing: -.055em; white-space: nowrap; }
.process-step h3 { margin: 3px 0 14px; font: 600 clamp(27px, 2.6vw, 43px)/.95 'Manrope'; letter-spacing: -.07em; }
.process-step p { margin: 0; color: #686062; font-size: 14px; line-height: 1.6; max-width: 530px; }
@media(max-width:760px) { .feature-process { display: block; padding: 78px 24px; } .process-heading { position: static; margin-bottom: 48px; } .process-heading h2 { font-size: 52px; } .process-step { grid-template-columns: 60px 1fr; padding: 25px 20px; gap: 12px; } .process-step b { font-size: 43px; } .process-step h3 { font-size: 28px; margin-top: 0; } .process-step p { font-size: 12px; } }

/* ---- interaction.css ---- */
.pilot-strip { position: relative; z-index: 5; min-height: 170px; display: flex; align-items: center; overflow: visible; background: var(--wine); color: #fff; text-decoration: none; border-top: 1px solid #ffffff35; border-bottom: 1px solid #ffffff35; }
.pilot-marquee-window { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; }
.pilot-marquee-track { width: max-content; display: flex; align-items: center; gap: 31px; white-space: nowrap; animation: pilot-marquee 18s linear infinite; }
.pilot-marquee-track span { font: 600 clamp(38px, 5vw, 77px)/.9 'Manrope'; letter-spacing: -.075em; text-transform: uppercase; }
.pilot-marquee-track i { color: var(--pink); font-style: normal; font-size: 33px; }
.pilot-strip:hover .pilot-marquee-track { animation-play-state: paused; color: var(--pink); }
.pilot-click-hint { position: absolute; left: 50%; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid #53152618; border-radius: 100px; background: #fff; color: var(--wine); font: 700 11px 'Manrope'; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 10px 26px #2609122e; animation: click-hint-bob 1.5s ease-in-out infinite; }
.pilot-click-hint b { display: inline-block; font-size: 17px; line-height: 1; transform: rotate(45deg); transform-origin: center; }
.pilot-strip:hover .pilot-click-hint { background: var(--pink); }
.pilot-device { position: relative; width: 69px; height: 69px; display: block; border: 1px solid #dba7b5; transform: rotate(45deg); animation: hardware-float 2.8s ease-in-out infinite; }
.pilot-device::before, .pilot-device::after, .pilot-device i { content: ''; position: absolute; inset: 10px; border: 1px solid #dba7b5; }
.pilot-device::after { inset: 22px; background: var(--pink); box-shadow: 0 0 22px #e7c6cf8c; }
.pilot-device i { inset: -9px; border-color: #ffffff26; animation: hardware-ring 2s ease-out infinite; }
.pilot-copy span { display: block; font: 600 clamp(31px, 4vw, 61px)/.95 'Manrope'; letter-spacing: -.07em; text-transform: uppercase; }
.pilot-copy b { display: block; margin-top: 8px; color: #dba7b5; font: 500 10px 'DM Mono'; text-transform: uppercase; letter-spacing: .08em; }
.pilot-signal { height: 48px; display: flex; gap: 7px; align-items: center; justify-content: center; border-left: 1px solid #ffffff2a; border-right: 1px solid #ffffff2a; }
.pilot-signal i { width: 4px; height: 9px; background: var(--pink); border-radius: 3px; animation: hardware-wave .8s ease-in-out infinite alternate; }
.pilot-signal i:nth-child(2), .pilot-signal i:nth-child(4) { height: 28px; animation-delay: .18s; }
.pilot-signal i:nth-child(3) { height: 43px; animation-delay: .36s; }
.pilot-strip > strong { padding: 13px 19px; border-radius: 100px; background: #fff; color: var(--wine); font-size: 12px; white-space: nowrap; }
.pilot-strip > strong b { margin-left: 10px; font-size: 17px; }
.pilot-strip:hover .pilot-device { animation-duration: 1.2s; }
.pilot-strip:hover > strong { background: var(--pink); }
@keyframes hardware-float { 50% { transform: rotate(45deg) translate(-5px, -5px); } }
@keyframes hardware-ring { to { inset: -28px; opacity: 0; } }
@keyframes hardware-wave { to { transform: scaleY(.25); opacity: .45; } }
@keyframes diagonal-stream { to { background-position: 180px 0; } }
@keyframes diagonal-sweep { 0% { left: -18%; } 70%,100% { left: 112%; } }
@keyframes pilot-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes click-hint-bob { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% + 4px)); } }
.brick-build { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 2px; }
.brick-build i { display: block; background: #f7f5f1; opacity: 0; transform: translate(var(--brick-x, -80px), var(--brick-y, 70px)) rotate(var(--brick-r, -8deg)) scale(.72); }
.brick-build i:nth-child(2n) { --brick-x: 90px; --brick-y: -60px; --brick-r: 7deg; }
.brick-build i:nth-child(3n) { --brick-x: -40px; --brick-y: -100px; --brick-r: 10deg; }
.assistant-message, .guest-message { max-width: 78%; padding: 14px 16px; border-radius: 4px 15px 15px 15px; background: #fff; box-shadow: 0 7px 20px #35101d10; font-size: 13px; line-height: 1.55; }
.guest-message { margin: 13px 0 13px auto; border-radius: 15px 4px 15px 15px; background: var(--pink); }
@keyframes brick-arrive { to { opacity: 1; transform: translate(0,0) rotate(0) scale(1); } }
@keyframes brick-layer-away { to { opacity: 0; visibility: hidden; } }

@media(max-width:760px) { .pilot-strip { min-height: 145px; } .pilot-marquee-track span { font-size: 38px; } .pilot-click-hint { padding: 9px 12px; font-size: 9px; } }

/* ---- faq.css ---- */
.faq-section {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(50px, 8vw, 150px);
  padding: clamp(92px, 10vw, 160px) 6vw;
  background: #efedea;
}

.faq-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.faq-heading h2 {
  margin: 24px 0 0;
  color: #302f2e;
  font: 600 clamp(54px, 6vw, 96px)/.97 'Manrope';
  letter-spacing: -.075em;
}

.faq-heading h2 em {
  color: var(--wine);
  font-style: normal;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 20px;
  background: #fff;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .55s ease, transform .65s cubic-bezier(.16, 1, .3, 1), border-color .3s, background .3s;
}

.faq-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:nth-child(2) { transition-delay: .06s; }
.faq-item:nth-child(3) { transition-delay: .12s; }
.faq-item:nth-child(4) { transition-delay: .18s; }
.faq-item:nth-child(5) { transition-delay: .24s; }
.faq-item:nth-child(6) { transition-delay: .3s; }

.faq-item > button {
  width: 100%;
  min-height: 104px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 0;
  background: transparent;
  color: #151414;
  text-align: left;
  cursor: pointer;
  font: 600 clamp(18px, 1.55vw, 25px)/1.2 'Manrope';
}

.faq-item > button i {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.faq-item > button i::before,
.faq-item > button i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-item > button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .48s cubic-bezier(.16, 1, .3, 1);
}

.faq-answer > div { overflow: hidden; }

.faq-answer p {
  max-width: 760px;
  margin: 0;
  padding: 0 76px 30px 32px;
  color: #696362;
  font-size: 15px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .4s ease;
}

.faq-item:hover,
.faq-item.is-open {
  border-color: #d7c5ca;
  background: #fffdfd;
}

.faq-item.is-open > button { color: var(--wine); }
.faq-item.is-open > button i { transform: rotate(45deg); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .faq-section { grid-template-columns: 1fr; }
  .faq-heading { position: static; }
  .faq-heading h2 br { display: none; }
}

@media (max-width: 600px) {
  .faq-section { padding: 78px 20px; gap: 42px; }
  .faq-heading h2 { font-size: 50px; }
  .faq-item { border-radius: 15px; }
  .faq-item > button { min-height: 86px; padding: 22px 20px; font-size: 18px; }
  .faq-answer p { padding: 0 54px 24px 20px; font-size: 13px; }
}

/* ---- content-sections.css ---- */
.gallery-section {
  padding: clamp(90px, 10vw, 150px) 0;
  background: #efedea;
  overflow: hidden;
}

.success-head {
  margin-bottom: 58px;
  padding: 0 4vw;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.success-head h2,
.news-head h2 {
  margin: 0;
  font: 600 clamp(54px, 6.7vw, 108px)/.91 'Manrope';
  letter-spacing: -.08em;
}

.news-head h2 em { color: var(--wine); font-style: normal; }

.success-controls { display: flex; gap: 8px; }
.success-controls button { width: 50px; height: 50px; border: 1px solid var(--wine); border-radius: 50%; background: transparent; color: var(--wine); font-size: 20px; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.success-controls button:hover { background: var(--wine); color: #fff; transform: translateY(-2px); }

.success-story-track {
  display: flex;
  gap: 16px;
  padding: 0 4vw 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4vw;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.success-story-track::-webkit-scrollbar { display: none; }

.success-story {
  position: relative;
  flex: 0 0 clamp(310px, 31vw, 455px);
  height: clamp(440px, 42vw, 580px);
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: 22px;
  background: #8f8c8a;
  box-shadow: 0 14px 35px rgba(36, 23, 27, .08);
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}

.success-story::after { content: ''; position: absolute; inset: 36% 0 0; background: linear-gradient(transparent, rgba(21, 12, 15, .92)); pointer-events: none; }
.success-story.is-visible { opacity: 1; transform: translateY(0); }
.success-story:nth-child(2) { transition-delay: .08s; }
.success-story:nth-child(3) { transition-delay: .16s; }
.success-story img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.success-story:hover { box-shadow: 0 24px 50px rgba(36, 23, 27, .16); }
.success-story:hover img { transform: scale(1.025); }
.story-result {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(248, 244, 240, .9);
  color: var(--wine);
  font: 700 9px 'DM Mono';
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: 0 8px 24px rgba(44, 17, 24, .12);
}

.story-copy {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
}
.story-copy h3 { margin: 0 0 10px; font-size: clamp(29px, 2.7vw, 40px); line-height: .97; letter-spacing: -.06em; }
.story-copy p { max-width: 340px; margin: 0; color: #eee5e7; font-size: 13px; line-height: 1.5; }

.success-story-track::after {
  content: 'Drag to explore →';
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  font: 500 10px 'DM Mono';
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.news-section {
  padding: clamp(92px, 10vw, 150px) 6vw;
  background: var(--ink);
  color: #fff;
}

.news-head { margin-bottom: 62px; }
.news-head .eyebrow { color: #d9cfd0; }
.news-head h2 em { color: var(--pink); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.news-card {
  min-height: 420px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ffffff20;
  border-radius: 18px;
  background: #2a2224;
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .65s ease, transform .75s cubic-bezier(.16, 1, .3, 1), background .3s;
}

.news-card.is-visible { opacity: 1; transform: translateY(0); }
.news-card:nth-child(2) { transition-delay: .1s; }
.news-card:nth-child(3) { transition-delay: .2s; }
.news-card:hover { background: var(--wine); }
.news-index { margin-bottom: auto; color: var(--pink); font: 500 13px 'DM Mono'; }
.news-meta { margin: 0 0 14px; color: #b9abad; font: 10px 'DM Mono'; letter-spacing: .05em; text-transform: uppercase; }
.news-card h3 { margin: 0 0 18px; font-size: clamp(30px, 3vw, 46px); line-height: .98; }
.news-card > p:not(.news-meta) { color: #cfc5c7; font-size: 13px; line-height: 1.65; }
.news-card a { width: max-content; margin-top: 20px; color: #fff; text-decoration: none; font-size: 12px; }
.news-card a span { margin-left: 12px; color: var(--pink); }

@media (max-width: 900px) {
  .success-story { flex-basis: min(72vw, 440px); }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: 340px; }
}

@media (max-width: 600px) {
  .gallery-section,
  .news-section { padding: 78px 20px; }
  .gallery-section { padding-left: 0; padding-right: 0; }
  .success-head { padding: 0 20px; align-items: flex-end; }
  .success-head h2,
  .news-head h2 { font-size: 50px; }
  .success-controls button { width: 42px; height: 42px; }
  .success-story-track { padding-left: 20px; scroll-padding-left: 20px; }
  .success-story { flex-basis: 82vw; height: 500px; }
  .story-copy { left: 22px; right: 22px; bottom: 22px; }
  .story-copy h3 { font-size: 34px; }
  .news-card { min-height: 360px; padding: 24px; }
}

/* ---- performance.css ---- */
/* Keep the visual motion, but only spend rendering work where the user can see it. */
.ticker-track,
.partner-track,
.pilot-marquee-track,
.pilot-click-hint,
.outcome-tags span { animation-play-state: paused !important; }

.is-motion-running,
.outcome-tags span.is-motion-running { animation-play-state: running !important; }

.word-ticker,
.partner-window,
.pilot-marquee-window { contain: paint; }

.gallery-section,
.service-section,
.statement,
.use-cases,
.review-section,
.news-section,
.privacy,
.contact,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.gallery-item { contain: paint; }
.benefit-photo > img,
.use-card img,
.contact > img { filter: none; mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* ---- gallery.css ---- */
.gallery-section {
  padding: clamp(88px, 9vw, 138px) 4vw;
  overflow: visible;
  background: #efedea;
}

.gallery-static-head {
  margin-bottom: 52px;
  display: grid;
  grid-template-columns: 1.5fr .5fr;
  gap: 8vw;
  align-items: end;
}

.gallery-static-head h2 {
  margin: 0;
  font: 600 clamp(58px, 7vw, 112px)/.88 'Manrope';
  letter-spacing: -.085em;
}

.gallery-static-head > p {
  max-width: 330px;
  margin: 0 0 7px;
  color: #686062;
  font-size: 15px;
  line-height: 1.65;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(280px, 31vw));
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #d7d2ce;
}

.gallery-featured { grid-row: 1 / 3; }
.gallery-wide { grid-column: 2 / 4; }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(25, 14, 18, .82));
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-item > span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8f4f0;
  color: var(--wine);
  font: 700 9px 'DM Mono';
  letter-spacing: .03em;
  text-transform: uppercase;
}

.gallery-item figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 23px;
  color: #fff;
}

.gallery-item h3 {
  max-width: 530px;
  margin: 0;
  font: 600 clamp(27px, 2.7vw, 43px)/.96 'Manrope';
  letter-spacing: -.06em;
}

.gallery-item p {
  max-width: 390px;
  margin: 10px 0 0;
  color: #eee5e7;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 850px) {
  .gallery-static-head { grid-template-columns: 1fr; gap: 22px; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 520px 340px 340px; }
  .gallery-featured { grid-column: 1 / 3; grid-row: 1; }
  .gallery-wide { grid-column: 1 / 3; }
}

@media (max-width: 600px) {
  .gallery-section { padding: 76px 18px; }
  .gallery-static-head { margin-bottom: 35px; }
  .gallery-static-head h2 { font-size: 58px; }
  .gallery-static-head > p { font-size: 13px; }
  .gallery-mosaic { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-item,
  .gallery-featured,
  .gallery-wide { grid-column: auto; grid-row: auto; height: 390px; }
  .gallery-featured { height: 470px; }
  .gallery-item figcaption { left: 20px; right: 20px; bottom: 20px; }
  .gallery-item h3 { font-size: 32px; }
}
