
:root {
  --bg: #1b1b1b;
  --footer-bg: #0a0412;
  --card: #050505;
  --card-2: #111111;
  --text: #f5f2ee;
  --muted: rgba(245, 242, 238, .58);
  --subtle: rgba(245, 242, 238, .34);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-slow: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { width: 100%; scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body { margin: 0; width: 100%; min-height: 100vh; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-shell { width: 100%; min-height: 100vh; background: var(--bg); overflow-x: clip; }
.nav { position: fixed; inset: 22px 26px auto 26px; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; pointer-events: none; }
.brand, .nav-pill { pointer-events: auto; }
.brand { justify-self: start; display: inline-flex; align-items: center; }
.brand img { width: clamp(142px, 10vw, 178px); height: auto; }
.nav-pill { display: flex; align-items: center; justify-content: center; gap: 25px; min-height: 42px; padding: 0 20px; border-radius: 10px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.045); box-shadow: 0 10px 24px rgba(0,0,0,.11); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-pill a { display: inline-flex; align-items: center; height: 32px; font-size: 15px; letter-spacing: -.02em; color: rgba(255,255,255,.72); opacity: .72; transition: opacity .38s var(--ease-slow), color .38s var(--ease-slow), text-shadow .38s var(--ease-slow); white-space: nowrap; }
.nav-pill a.is-active { color: #fff; opacity: 1; text-shadow: 0 0 7px rgba(255,255,255,.32), 0 0 14px rgba(255,255,255,.08); }
.nav-pill:has(a:hover) a { opacity: .34; color: rgba(255,255,255,.42); text-shadow: none; }
.nav-pill:has(a:hover) a:hover { opacity: 1; color: #fff; text-shadow: 0 0 7px rgba(255,255,255,.36), 0 0 14px rgba(255,255,255,.1); }
.section { padding: clamp(86px, 9vw, 136px) clamp(18px, 3.2vw, 54px); background: var(--bg); }
.section.tight { padding-top: clamp(54px, 6vw, 88px); }
.section-header { display: grid; grid-template-columns: minmax(80px, .25fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); margin-bottom: clamp(28px, 4vw, 64px); align-items: start; }
.section-number { color: var(--subtle); font-size: 13px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.section-title { margin: 0; max-width: 980px; font-size: clamp(42px, 6vw, 104px); line-height: .91; letter-spacing: -.075em; font-weight: 820; text-transform: uppercase; text-wrap: balance; }
.section-copy { margin: 22px 0 0; max-width: 760px; color: var(--muted); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; letter-spacing: -.025em; }
.hero { width: 100%; min-height: 100svh; padding: clamp(124px, 14vh, 164px) clamp(18px, 3.2vw, 54px) clamp(34px, 4.8vh, 58px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--bg); overflow: hidden; }
.hero.center { justify-content: center; }
.hero-copy { width: min(1320px, 100%); margin: 0 auto; text-align: center; }
.hero h1 { margin: 0 auto; width: min(1280px, 100%); font-size: clamp(58px, 8.3vw, 148px); line-height: .86; letter-spacing: -.078em; font-weight: 860; text-transform: uppercase; text-wrap: balance; }
.hero-subline { margin: clamp(20px, 3vh, 34px) auto 0; width: min(960px, 100%); color: var(--muted); font-size: clamp(15px, 1.2vw, 19px); line-height: 1.45; letter-spacing: -.025em; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--line-strong); background: #fff; color: #080808; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 780; transition: transform .45s var(--ease-slow), opacity .45s var(--ease-slow); }
.button:hover { transform: translateY(-2px); }
.button.secondary { background: transparent; color: #fff; }
.card-row { width: 100%; margin-top: clamp(42px, 6vh, 70px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1vw, 18px); }
.tile, .product-card, .service-card, .person-card, .review-card, .legal-card, .form-card, .stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 0; box-shadow: 0 34px 90px rgba(0,0,0,.26); }
.tile { min-height: clamp(240px, 29vh, 380px); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .75s var(--ease-slow), border-color .75s var(--ease-slow); }
.tile:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); }
.tile h3 { margin: 0; font-size: clamp(28px, 2.6vw, 48px); line-height: .92; letter-spacing: -.065em; text-transform: uppercase; }
.tile p { margin: 12px 0 0; color: var(--muted); line-height: 1.45; font-size: 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card { padding: clamp(24px, 3vw, 42px); }
.stat-card strong { display: block; font-size: clamp(56px, 7vw, 112px); line-height: .85; letter-spacing: -.075em; }
.stat-card span { display: block; margin-top: 18px; color: var(--muted); line-height: 1.45; }
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 42px); align-items: stretch; }
.text-panel { padding: clamp(28px, 4vw, 58px); background: var(--card); border: 1px solid var(--line); }
.text-panel h3 { margin: 0; font-size: clamp(36px, 4vw, 72px); line-height: .95; letter-spacing: -.065em; text-transform: uppercase; }
.text-panel p { color: var(--muted); line-height: 1.65; font-size: 17px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person-card { overflow: hidden; }
.person-card img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.person-card .card-body, .review-card, .service-card, .legal-card { padding: 22px; }
.card-kicker { margin: 0 0 10px; color: var(--subtle); text-transform: uppercase; letter-spacing: .11em; font-size: 12px; font-weight: 760; }
.card-title { margin: 0; font-size: clamp(24px, 2.2vw, 38px); line-height: .94; letter-spacing: -.06em; text-transform: uppercase; }
.card-copy { margin: 14px 0 0; color: var(--muted); line-height: 1.5; }
.portfolio-card { position: relative; min-height: 360px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.portfolio-card img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; filter: grayscale(1) brightness(.72); transition: transform .95s var(--ease-slow), filter .95s var(--ease-slow); }
.portfolio-card:hover img { transform: scale(1.04); filter: grayscale(.25) brightness(.82); }
.portfolio-card .caption { position: absolute; inset: auto 18px 18px; z-index: 1; }
.portfolio-card h3 { margin: 0; font-size: clamp(26px, 2.8vw, 48px); line-height: .9; letter-spacing: -.07em; text-transform: uppercase; }
.portfolio-card p { margin: 10px 0 0; color: rgba(255,255,255,.74); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; font-weight: 730; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.price-list li { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: rgba(255,255,255,.84); font-weight: 650; }
.price-list span { color: var(--muted); font-weight: 500; }
.note { margin-top: 22px; color: var(--subtle); font-size: 12px; line-height: 1.55; text-transform: uppercase; letter-spacing: .06em; }
.product-strip { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1vw, 18px); align-items: stretch; }
.product-card { position: relative; height: clamp(340px, 42vh, 440px); overflow: hidden; transition: transform .85s var(--ease-slow), border-color .85s var(--ease-slow); }
.product-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.22); }
.product-info { position: absolute; inset: auto 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.product-name { font-size: clamp(28px, 2.4vw, 44px); line-height: .88; letter-spacing: -.07em; font-weight: 740; text-transform: uppercase; max-width: 9ch; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: rgba(255,255,255,.66); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.buy-now { color: #fff; white-space: nowrap; }
.status { color: rgba(255,255,255,.78); white-space: nowrap; }
.card-link { position: absolute; inset: 0; z-index: 3; font-size: 0; }
.review-card { min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; }
.review-card blockquote { margin: 0; color: rgba(255,255,255,.8); line-height: 1.55; font-size: 16px; }
.review-card cite { margin-top: 22px; display: block; color: #fff; font-style: normal; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 760; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-card { padding: clamp(24px, 4vw, 48px); }
label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 760; }
input, textarea, select { width: 100%; border: 1px solid var(--line-strong); background: #070707; color: #fff; border-radius: 0; min-height: 48px; padding: 13px 14px; font: inherit; outline: none; }
textarea { resize: vertical; min-height: 130px; }
.field-full { grid-column: 1 / -1; }
.checkbox-grid, .radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checkbox-grid label, .radio-grid label, .consent-row { padding: 13px; border: 1px solid var(--line); background: #070707; text-transform: none; letter-spacing: -.01em; font-size: 14px; font-weight: 520; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.checkbox-grid input, .radio-grid input, .consent-row input { width: auto; min-height: 0; margin-top: 2px; }
.form-message { margin-top: 18px; color: var(--muted); }
.form-message.success { color: #d8ff7a; }
.form-message.error { color: #ff9a9a; }
.iframe-wrap { background: var(--card); border: 1px solid var(--line); padding: 0; min-height: 680px; overflow: hidden; }
.iframe-wrap iframe { width: 100%; min-height: 760px; border: 0; background: #fff; }
.legal-wrap { width: min(980px, 100%); margin: 0 auto; }
.legal-card { margin-top: 16px; }
.legal-card h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 48px); line-height: 1; letter-spacing: -.06em; text-transform: uppercase; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.65; }
.legal-card ul { padding-left: 1.1em; }
.footer { min-height: 100vh; width: 100%; background: var(--footer-bg); position: relative; z-index: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 120px 26px 32px; }
.footer-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; z-index: 0; pointer-events: none; }
.footer::after { content: ""; position: absolute; inset: 0; background: rgba(10,4,18,.86); z-index: 1; pointer-events: none; }
.footer::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.055); z-index: 4; pointer-events: none; }
.footer-copy { position: relative; z-index: 3; text-align: center; width: min(940px, 94vw); margin: 0 auto; }
.footer-kicker { margin: 0 0 18px; color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 760; }
.footer-copy h2 { margin: 0; color: #fff; font-size: clamp(48px, 5.2vw, 104px); line-height: .95; letter-spacing: -.07em; font-weight: 620; text-wrap: balance; }
.footer-email { display: inline-block; margin-top: .14em; color: #fff; font-size: clamp(28px, 3.2vw, 58px); letter-spacing: -.055em; opacity: .86; }
.footer-bottom { position: absolute; left: 26px; right: 26px; bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; color: rgba(255,255,255,.47); font-size: 14px; letter-spacing: -.02em; z-index: 3; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { border-bottom: 1px solid rgba(255,255,255,.34); }
@media (max-width: 1180px) {
  .nav { inset: 16px 16px auto 16px; grid-template-columns: 1fr; row-gap: 14px; justify-items: center; }
  .brand { justify-self: center; }
  .brand img { width: 138px; }
  .nav-pill { max-width: 96vw; gap: 18px; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .nav-pill::-webkit-scrollbar { display: none; }
  .hero { min-height: auto; padding-top: 148px; }
  .hero h1 { font-size: clamp(48px, 13vw, 94px); }
  .hero-subline { max-width: 680px; }
  .card-row, .product-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .section-header { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 760px) {
  .section { padding: 76px 18px; }
  .hero { padding: 138px 18px 46px; }
  .brand img { width: 126px; }
  .nav-pill { width: min(100%, 390px); gap: 16px; padding: 0 18px; }
  .nav-pill a { font-size: 14px; }
  .hero h1 { font-size: clamp(42px, 13vw, 68px); line-height: .91; }
  .hero-subline { font-size: 15px; }
  .card-row, .product-strip, .services-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .tile { min-height: 270px; }
  .product-card { height: 340px; }
  .portfolio-card, .portfolio-card img { min-height: 330px; }
  .form-grid, .checkbox-grid, .radio-grid { grid-template-columns: 1fr; }
  .footer { min-height: 100svh; padding: 118px 18px 88px; }
  .footer-copy h2 { font-size: clamp(44px, 13vw, 74px); }
  .footer-email { font-size: clamp(24px, 7vw, 38px); }
  .footer-bottom { left: 18px; right: 18px; bottom: 24px; align-items: flex-start; flex-direction: column; font-size: 13px; }
}

/* Updated universal homepage order + carousel system */
.logo-marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.logo-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: logoMarquee 42s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-card {
  width: clamp(180px, 18vw, 310px);
  height: clamp(90px, 9vw, 150px);
  flex: 0 0 auto;
  background: #050505;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 3vw, 44px);
}
.logo-card img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: grayscale(1) invert(1) brightness(1.7);
  opacity: .82;
}
@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}
.carousel-shell {
  position: relative;
  width: 100%;
}
.portfolio-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 38vw);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.portfolio-carousel::-webkit-scrollbar { display: none; }
.portfolio-carousel .portfolio-card {
  scroll-snap-align: start;
  min-height: clamp(440px, 55vh, 640px);
}
.portfolio-carousel .portfolio-card img {
  min-height: clamp(440px, 55vh, 640px);
}
.carousel-btn {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: rgba(5, 5, 5, .78);
  color: #fff;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .42s var(--ease-slow), background .42s var(--ease-slow);
}
.carousel-btn:hover { background: #fff; color: #050505; }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.hero-cards .tile { min-height: clamp(220px, 24vh, 340px); }
@media (max-width: 1380px) {
  .nav-pill { gap: 18px; padding: 0 18px; }
  .nav-pill a { font-size: 14px; }
}
@media (max-width: 1180px) {
  .portfolio-carousel { grid-auto-columns: minmax(320px, 72vw); }
  .portfolio-carousel .portfolio-card,
  .portfolio-carousel .portfolio-card img { min-height: 480px; }
}
@media (max-width: 760px) {
  .logo-card { width: 210px; height: 110px; }
  .portfolio-carousel { grid-auto-columns: 86vw; }
  .portfolio-carousel .portfolio-card,
  .portfolio-carousel .portfolio-card img { min-height: 430px; }
  .carousel-btn { display: none; }
}


/* V3 homepage order + requested refinements */
.labels-bridge {
  width: 100%;
  padding: clamp(18px, 2.6vw, 34px) 0;
  background: var(--bg);
  overflow: hidden;
}

#ourteam {
  padding-top: clamp(42px, 4.5vw, 70px);
  padding-bottom: clamp(64px, 6vw, 92px);
}

#ourteam .section-title {
  font-size: clamp(42px, 5.1vw, 84px);
}

.team-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.team-grid .person-card img {
  width: 100%;
  height: clamp(300px, 33vw, 470px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.review-card {
  gap: 26px;
}

.reviewer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  flex: 0 0 auto;
}

.reviewer cite {
  margin-top: 0;
  display: block;
  color: #fff;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 760;
}

.reviewer span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 700;
}

.nav-pill a[href^="https://store.studio77.au"] {
  color: rgba(255,255,255,.86);
}

@media (max-width: 1180px) {
  .team-grid .person-card img {
    height: clamp(280px, 44vw, 420px);
  }
}

@media (max-width: 760px) {
  #ourteam {
    padding-top: 64px;
    padding-bottom: 76px;
  }

  .team-grid .person-card img {
    height: 340px;
  }
}

/* V4 refinements: proof merged into services, hover colour reveals, footer reveal */
.site-shell {
  position: relative;
}

.hero,
.section {
  position: relative;
  z-index: 2;
}

#services {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 22px);
  padding-top: clamp(58px, 5vw, 78px);
  padding-bottom: clamp(58px, 5vw, 78px);
}

#services .section-header {
  margin-bottom: clamp(12px, 1.8vw, 24px);
}

#services .section-title {
  font-size: clamp(42px, 5.1vw, 86px);
}

#services .section-copy {
  margin-top: 14px;
}

#services .service-card {
  padding: clamp(18px, 2vw, 24px);
}

#services .card-title {
  font-size: clamp(24px, 2vw, 34px);
}

#services .price-list {
  margin-top: 16px;
  gap: 10px;
}

#services .price-list li {
  padding-bottom: 10px;
}

#services .note {
  margin-top: 0;
}

.labels-proof {
  margin-top: clamp(4px, .8vw, 12px);
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  align-items: center;
  overflow: hidden;
}

.proof-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.1vw, 52px);
  line-height: .92;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.proof-copy p {
  margin: 12px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.45;
  letter-spacing: -.025em;
}

.labels-proof .logo-marquee {
  border: 1px solid var(--line);
  padding: 12px 0;
  background: #050505;
}

.labels-proof .logo-card {
  width: clamp(150px, 13vw, 230px);
  height: clamp(70px, 6vw, 104px);
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  padding: clamp(18px, 2vw, 30px);
}

.labels-proof .logo-card img {
  max-height: 44px;
}

.person-card {
  overflow: hidden;
  transition: transform .85s var(--ease-slow), border-color .85s var(--ease-slow);
}

.person-card img,
.reviewer img {
  transition: transform .95s var(--ease-slow), filter .95s var(--ease-slow);
}

.person-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.22);
}

.person-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0) brightness(.9) contrast(1.02);
}

.review-card {
  transition: transform .85s var(--ease-slow), border-color .85s var(--ease-slow);
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.22);
}

.review-card:hover .reviewer img {
  transform: scale(1.08);
  filter: grayscale(0) brightness(.95) contrast(1.02);
}

.footer-reveal {
  height: 100vh;
  min-height: 100svh;
  position: relative;
  z-index: 1;
  background: transparent;
  pointer-events: none;
}

.footer {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 0;
  background-color: var(--footer-bg);
}

.footer-copy {
  animation: footerCopyReveal linear both;
  animation-timeline: view();
  animation-range: entry 4% cover 62%;
}

.footer-video {
  transform: scale(1.035);
  animation: footerVideoReveal linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 64%;
}

@keyframes footerCopyReveal {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes footerVideoReveal {
  from { opacity: .28; filter: blur(5px); }
  to { opacity: 1; filter: blur(0); }
}

@media (max-width: 1180px) {
  #services {
    min-height: auto;
    display: block;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .labels-proof {
    margin-top: 28px;
    grid-template-columns: 1fr;
  }

  .labels-proof .logo-card {
    width: 210px;
    height: 96px;
  }
}

@media (max-width: 760px) {
  #services {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .labels-proof {
    gap: 18px;
  }

  .labels-proof .logo-marquee {
    margin-left: -18px;
    margin-right: -18px;
    border-left: 0;
    border-right: 0;
  }

  .proof-copy h3 {
    font-size: clamp(32px, 10vw, 48px);
  }

  .footer {
    position: fixed;
  }
}

/* V5 refinements: full-screen services proof bridge, service CTA, wider header tracking, team socials */
.section-title,
.hero h1,
.card-title,
.portfolio-card h3,
.proof-copy h3,
.footer-copy h2 {
  letter-spacing: -0.038em;
}

#services {
  min-height: auto;
  display: block;
  padding-top: clamp(84px, 8vw, 128px);
  padding-bottom: 0;
}

#services .section-header {
  margin-bottom: clamp(28px, 4vw, 56px);
}

#services .section-title {
  font-size: clamp(42px, 5.8vw, 96px);
}

#services .services-grid,
#services .note,
#services .services-actions {
  position: relative;
  z-index: 2;
}

.services-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
}

#services .labels-proof {
  width: 100vw;
  min-height: 100svh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(72px, 8vw, 128px);
  padding: clamp(118px, 12vw, 180px) clamp(18px, 3.2vw, 54px) clamp(78px, 8vw, 124px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(54px, 6vw, 90px);
  background: var(--bg);
  overflow: hidden;
}

#services .labels-proof .proof-copy {
  width: min(980px, 100%);
  margin: 0 auto;
}

#services .proof-copy h3 {
  font-size: clamp(52px, 7vw, 126px);
  line-height: .9;
  max-width: 900px;
}

#services .proof-copy p {
  max-width: 760px;
  margin-top: clamp(20px, 2.5vw, 34px);
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.55;
}

#services .labels-proof .logo-marquee {
  width: 100%;
  margin: 0;
  border-left: 0;
  border-right: 0;
  padding: clamp(18px, 2.4vw, 34px) 0;
  background: transparent;
}

#services .labels-proof .logo-card {
  width: clamp(260px, 21vw, 420px);
  height: clamp(116px, 10vw, 170px);
  background: #050505;
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 52px);
}

#services .labels-proof .logo-card img {
  max-height: 64px;
}

.person-card .card-body {
  position: relative;
}

.person-socials {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.person-socials a {
  color: rgba(255,255,255,.76);
  border-bottom: 1px solid rgba(255,255,255,.32);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .42s var(--ease-slow), border-color .42s var(--ease-slow), opacity .42s var(--ease-slow);
}

.person-socials a:hover {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 1180px) {
  #services {
    padding-top: 76px;
  }

  #services .labels-proof {
    min-height: 92svh;
    margin-top: 72px;
    padding-top: 104px;
    padding-bottom: 96px;
  }

  #services .proof-copy h3 {
    font-size: clamp(48px, 10vw, 96px);
  }
}

@media (max-width: 760px) {
  .section-title,
  .hero h1,
  .card-title,
  .portfolio-card h3,
  .proof-copy h3,
  .footer-copy h2 {
    letter-spacing: -0.028em;
  }

  #services {
    padding-top: 76px;
  }

  .services-actions {
    justify-content: stretch;
  }

  .services-actions .button {
    width: 100%;
  }

  #services .labels-proof {
    min-height: 100svh;
    margin-top: 64px;
    padding: 96px 18px 84px;
    gap: 42px;
  }

  #services .proof-copy h3 {
    font-size: clamp(44px, 14vw, 72px);
  }

  #services .proof-copy p {
    font-size: 16px;
  }

  #services .labels-proof .logo-card {
    width: 230px;
    height: 112px;
  }
}

/* V6 refinements: centre services CTA and make label proof feel attached to Services */
#services .services-actions,
.services-actions {
  justify-content: center;
  margin-top: clamp(24px, 3vw, 38px);
}

#services .services-actions .button {
  text-transform: uppercase;
  letter-spacing: .08em;
}

#services .labels-proof {
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: clamp(56px, 6vw, 92px);
  padding-bottom: clamp(76px, 8vw, 124px);
  min-height: auto;
}

@media (max-width: 1180px) {
  #services .labels-proof {
    min-height: auto;
    margin-top: 48px;
    padding-top: 68px;
    padding-bottom: 86px;
  }
}

@media (max-width: 760px) {
  #services .services-actions {
    justify-content: center;
  }

  #services .services-actions .button {
    width: auto;
    min-width: min(100%, 220px);
  }

  #services .labels-proof {
    min-height: auto;
    margin-top: 42px;
    padding-top: 62px;
    padding-bottom: 76px;
  }
}

/* V7 services spacing, title clarity, larger CTA, centred label proof */
#services .note {
  margin-top: clamp(18px, 2.4vw, 34px);
}

#services .card-title {
  font-size: clamp(24px, 1.85vw, 32px);
  letter-spacing: -0.025em;
}

#services .services-actions {
  margin-top: clamp(30px, 3.5vw, 48px);
}

#services .services-actions .button {
  min-height: 58px;
  padding: 0 clamp(30px, 3vw, 48px);
  font-size: 13px;
  font-weight: 820;
}

#services .labels-proof .proof-copy {
  width: min(1320px, 100%);
  text-align: center;
}

#services .proof-copy h3 {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(42px, 5.8vw, 104px);
}

#services .proof-copy p {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (max-width: 760px) {
  #services .proof-copy h3 {
    font-size: clamp(30px, 9vw, 48px);
    letter-spacing: -0.035em;
  }

  #services .services-actions .button {
    min-height: 56px;
    min-width: min(100%, 260px);
  }
}


/* V9 refinements: one-line proof copy + built section browser */
#services .proof-copy p {
  max-width: none;
  width: 100%;
  white-space: nowrap;
  text-align: center;
}

.quick-browser {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  pointer-events: none;
}

.quick-rail {
  position: relative;
  width: 280px;
  min-height: 390px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: auto;
}

.quick-bars {
  position: relative;
  z-index: 3;
  width: 50px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 0;
  background: rgba(0, 0, 0, .68);
  border-left: 1px solid rgba(255, 255, 255, .06);
  transition: background .24s var(--ease), transform .3s var(--ease), opacity .3s var(--ease);
}

.quick-bar {
  width: 42px;
  height: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .5;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}

.quick-bar span {
  width: 32px;
  height: 3px;
  border-radius: 999px;
  display: block;
  background: rgba(255, 255, 255, .48);
  transition: width .24s var(--ease), height .24s var(--ease), background .24s var(--ease), box-shadow .24s var(--ease);
}

.quick-bar:hover,
.quick-bar.is-active {
  opacity: 1;
}

.quick-bar:hover span,
.quick-bar.is-active span {
  width: 38px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,.26);
}

.quick-rail:hover .quick-bars,
.quick-rail:focus-within .quick-bars {
  background: rgba(0, 0, 0, .36);
  transform: translateX(4px);
}

.quick-panel {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translate(18px, -50%) scale(.98);
  width: 238px;
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: rgba(0, 0, 0, .9);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 34px 90px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .48s var(--ease-slow), transform .48s var(--ease-slow);
}

.quick-rail:hover .quick-panel,
.quick-rail:focus-within .quick-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.quick-panel a {
  color: rgba(255,255,255,.56);
  font-size: 15px;
  line-height: .95;
  letter-spacing: .075em;
  text-transform: uppercase;
  font-weight: 820;
  transition: color .2s var(--ease), transform .2s var(--ease), text-shadow .2s var(--ease), opacity .2s var(--ease);
}

.quick-panel a:hover,
.quick-panel a.is-active {
  color: #fff;
  transform: translateX(4px);
  text-shadow: 0 0 12px rgba(255,255,255,.2);
}

.quick-panel .quick-book {
  margin-top: 18px;
  color: #fff;
  font-size: 22px;
  line-height: .98;
  letter-spacing: .08em;
  font-weight: 880;
  max-width: 9ch;
}

.quick-separator {
  display: block;
  width: 100%;
  height: 1px;
  margin: 12px 0 8px;
  background: rgba(255,255,255,.16);
}

@media (max-width: 1280px) {
  #services .proof-copy p {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
  }
}

@media (max-width: 1080px) {
  .quick-browser {
    display: none;
  }
}


/* V10 quick browser polish + section reveal animations */
.quick-browser {
  --quick-panel-y: 0px;
  right: 16px;
  z-index: 70;
}

.quick-rail {
  width: 330px;
  min-height: 430px;
}

.quick-bars {
  width: 46px;
  min-height: 380px;
  gap: 15px;
  padding: 18px 0;
  background: transparent;
  border-left: 0;
  box-shadow: none;
}

.quick-bar {
  width: 44px;
  height: 12px;
  opacity: .42;
}

.quick-bar span {
  width: 31px;
  height: 3px;
  background: rgba(255, 255, 255, .44);
}

.quick-bar:hover,
.quick-bar.is-active {
  opacity: 1;
  transform: translateX(-2px);
}

.quick-bar:hover span,
.quick-bar.is-active span {
  width: 40px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, .18);
}

.quick-rail:hover .quick-bars,
.quick-rail:focus-within .quick-bars {
  background: transparent;
  transform: none;
}

.quick-panel {
  right: 52px;
  top: 50%;
  width: 250px;
  padding: 24px 26px 26px;
  transform: translate(18px, calc(-50% + var(--quick-panel-y))) scale(.98);
  background: rgba(27, 27, 27, .18);
  border: 1px solid rgba(255, 255, 255, .028);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.quick-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(27,27,27,.06), rgba(27,27,27,.18));
  pointer-events: none;
}

.quick-rail:hover .quick-panel,
.quick-rail:focus-within .quick-panel {
  transform: translate(0, calc(-50% + var(--quick-panel-y))) scale(1);
}

.quick-panel a {
  opacity: .62;
  text-shadow: 0 2px 16px rgba(0,0,0,.72);
}

.quick-panel a:hover,
.quick-panel a.is-active {
  opacity: 1;
  transform: translateX(5px);
}

.quick-panel .quick-book {
  opacity: .95;
}

.quick-separator {
  background: rgba(255,255,255,.12);
}

.reveal-init {
  opacity: 0;
  transition:
    opacity 1.35s var(--ease-slow),
    transform 1.35s var(--ease-slow),
    filter 1.35s var(--ease-slow);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
  filter: blur(1.25px);
}

.reveal-up { transform: translate3d(0, 32px, 0); }
.reveal-down { transform: translate3d(0, -32px, 0); }
.reveal-left { transform: translate3d(-38px, 0, 0); }
.reveal-right { transform: translate3d(38px, 0, 0); }

.reveal-init.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init,
  .reveal-up,
  .reveal-down,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
    filter: none;
  }
}

/* V11 quick browser: fixed panel, bar-driven highlight, retract/enlarge behaviour */
.quick-browser {
  --quick-width-rest: 66px;
  --quick-width-open: 340px;
  position: fixed;
  right: 0;
  top: 50%;
  width: var(--quick-width-rest);
  transform: translateY(-50%);
  z-index: 70;
  pointer-events: auto;
  transition: width .62s var(--ease-slow);
}

.quick-browser:hover,
.quick-browser:focus-within {
  width: var(--quick-width-open);
}

.quick-rail {
  width: 100%;
  min-height: 310px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
}

.quick-bars {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scale(.88);
  width: 48px;
  min-height: 250px;
  padding: 10px 0;
  gap: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-left: 0;
  box-shadow: none;
  opacity: .62;
  transition: opacity .48s var(--ease-slow), transform .48s var(--ease-slow);
}

.quick-browser:hover .quick-bars,
.quick-browser:focus-within .quick-bars {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.quick-bar {
  width: 42px;
  height: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .44;
  transform: none;
  transition: opacity .38s var(--ease-slow), transform .38s var(--ease-slow);
}

.quick-bar span {
  width: 29px;
  height: 2px;
  border-radius: 999px;
  display: block;
  background: rgba(255, 255, 255, .42);
  transition: width .38s var(--ease-slow), height .38s var(--ease-slow), background .38s var(--ease-slow), box-shadow .38s var(--ease-slow);
}

.quick-bar:hover,
.quick-bar.is-active,
.quick-bar.is-preview {
  opacity: 1;
  transform: none;
}

.quick-bar:hover span,
.quick-bar.is-active span,
.quick-bar.is-preview span {
  width: 38px;
  height: 3px;
  background: #fff;
  box-shadow: 0 0 11px rgba(255,255,255,.22);
}

.quick-bars.has-preview .quick-bar.is-active:not(.is-preview) {
  opacity: .44;
}

.quick-bars.has-preview .quick-bar.is-active:not(.is-preview) span {
  width: 29px;
  height: 2px;
  background: rgba(255, 255, 255, .42);
  box-shadow: none;
}

.quick-panel {
  position: absolute;
  right: 54px;
  top: 50%;
  width: 244px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: rgba(27, 27, 27, .08);
  border: 1px solid rgba(255, 255, 255, .035);
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  opacity: 0;
  pointer-events: none;
  transform: translate(18px, -50%) scale(.94);
  transform-origin: right center;
  transition: opacity .48s var(--ease-slow), transform .62s var(--ease-slow);
}

.quick-panel::before {
  content: none;
}

.quick-browser:hover .quick-panel,
.quick-browser:focus-within .quick-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.quick-panel a {
  color: rgba(255, 255, 255, .48);
  opacity: .78;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .075em;
  text-transform: uppercase;
  font-weight: 820;
  text-shadow: 0 2px 16px rgba(0,0,0,.72);
  transform: none;
  transform-origin: left center;
  transition: color .36s var(--ease-slow), opacity .36s var(--ease-slow), transform .36s var(--ease-slow), font-size .36s var(--ease-slow), letter-spacing .36s var(--ease-slow), text-shadow .36s var(--ease-slow);
}

.quick-panel a:hover,
.quick-panel a.is-active,
.quick-panel a.is-preview {
  color: #fff;
  opacity: 1;
  font-size: 17px;
  letter-spacing: .085em;
  transform: scale(1.04);
  text-shadow: 0 0 12px rgba(255,255,255,.18), 0 2px 16px rgba(0,0,0,.78);
}

.quick-panel.has-preview a.is-active:not(.is-preview) {
  color: rgba(255, 255, 255, .48);
  opacity: .78;
  font-size: 14px;
  letter-spacing: .075em;
  transform: none;
  text-shadow: 0 2px 16px rgba(0,0,0,.72);
}

.quick-panel .quick-book {
  margin-top: 18px;
  color: #fff;
  opacity: .92;
  font-size: 22px;
  line-height: .98;
  letter-spacing: .08em;
  font-weight: 880;
  max-width: 9ch;
}

.quick-panel .quick-book:hover {
  font-size: 23px;
  transform: scale(1.02);
}

.quick-separator {
  display: block;
  width: 100%;
  height: 1px;
  margin: 12px 0 8px;
  background: rgba(255,255,255,.14);
}

@media (max-width: 1080px) {
  .quick-browser {
    display: none;
  }
}

/* Booking page form */
.booking-hero {
  min-height: 72svh;
}

.booking-section {
  padding-top: clamp(38px, 5vw, 72px);
}

.booking-form {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.booking-form .section-header {
  margin-bottom: clamp(26px, 3.4vw, 46px);
}

.booking-form-group {
  margin-top: clamp(28px, 3vw, 44px);
}

.booking-form label span {
  color: var(--subtle);
  font-weight: 600;
}

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

.service-checkboxes label,
.booking-agreements .consent-row {
  min-height: 58px;
  align-items: center;
}

.booking-agreements {
  display: grid;
  gap: 12px;
}

.booking-agreements a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.36);
}

.booking-actions .button {
  min-height: 58px;
  padding-inline: 30px;
}

@media (max-width: 860px) {
  .booking-hero {
    min-height: auto;
  }

  .service-checkboxes {
    grid-template-columns: 1fr;
  }
}

/* V19 reviews section redesign */
.reviews-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.review-feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 34px 90px rgba(0,0,0,.26);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .9s var(--ease-slow), border-color .9s var(--ease-slow), box-shadow .9s var(--ease-slow);
}

.review-feature-image {
  position: relative;
  overflow: hidden;
  background: #050505;
}

.review-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 58%, rgba(0,0,0,.16) 100%);
  pointer-events: none;
}

.review-feature-image img {
  display: block;
  width: 100%;
  height: clamp(340px, 34vw, 460px);
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.02) brightness(.88);
  transform: scale(1.001);
  transition: transform 1.1s var(--ease-slow), filter 1.1s var(--ease-slow);
}

.review-feature-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 18px;
  background: #050505;
}

.review-feature-body blockquote {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.55;
  letter-spacing: -.02em;
}

.review-feature-body cite {
  display: block;
  margin-top: auto;
  color: #fff;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.review-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 42px 96px rgba(0,0,0,.3);
}

.review-feature-card:hover .review-feature-image img {
  transform: scale(1.035);
  filter: grayscale(0) brightness(.95) contrast(1.02);
}

@media (max-width: 1180px) {
  .reviews-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-feature-image img {
    height: clamp(320px, 46vw, 440px);
  }
}

@media (max-width: 760px) {
  .reviews-showcase {
    grid-template-columns: 1fr;
  }

  .review-feature-image img {
    height: 360px;
  }

  .review-feature-body {
    padding: 18px 18px 16px;
  }
}

/* V20 GRID Creative credit */
.grid-credit-desktop {
  position: fixed;
  right: 26px;
  bottom: 78px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  mix-blend-mode: difference;
  isolation: isolate;
  opacity: .74;
  transition: opacity .55s var(--ease-slow), transform .55s var(--ease-slow);
}

.grid-credit-desktop:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.grid-credit-copy {
  display: block;
  color: currentColor;
  font-size: 9px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: .16em;
  text-align: right;
  text-transform: uppercase;
}

.grid-credit-copy strong {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 860;
  letter-spacing: .11em;
}

.grid-credit-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: block;
  background: currentColor;
  -webkit-mask: url('../images/logos/grid-creative-icon.svg') center / contain no-repeat;
  mask: url('../images/logos/grid-creative-icon.svg') center / contain no-repeat;
}

.grid-credit-mobile {
  display: none;
}

@media (max-width: 760px) {
  .grid-credit-desktop {
    display: none;
  }

  .footer {
    padding-bottom: 128px;
  }

  .footer-bottom {
    bottom: 58px;
    text-align: center;
  }

  .grid-credit-mobile {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,.26);
  }
}

/* V21 mobile hamburger navigation */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

@media (max-width: 860px) {
  .nav {
    inset: 18px 18px auto 18px;
    grid-template-columns: 1fr auto;
    row-gap: 0;
    align-items: center;
  }

  .nav .brand {
    justify-self: start;
  }

  .nav .brand img {
    width: 132px;
  }

  .nav-pill {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: end;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 0;
    background: rgba(27,27,27,.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    z-index: 102;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform .55s var(--ease-slow), opacity .4s var(--ease-slow);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: 112px 24px 38px;
    background: rgba(27,27,27,.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity .6s var(--ease-slow), transform .6s var(--ease-slow), visibility .6s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .mobile-menu-links a {
    display: block;
    width: 100%;
    padding: 9px 0;
    color: rgba(255,255,255,.5);
    font-size: clamp(34px, 10vw, 52px);
    font-weight: 780;
    line-height: .98;
    letter-spacing: -.045em;
    text-transform: uppercase;
    transition: color .35s var(--ease-slow), transform .35s var(--ease-slow);
  }

  .mobile-menu-links a:hover,
  .mobile-menu-links a.is-active {
    color: #fff;
    transform: translateX(8px);
  }

  .mobile-menu-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .mobile-menu-footer a {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

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

/* V21 reviews/testimonials carousel */
.reviews-carousel-shell {
  position: relative;
  width: 100%;
}

.reviews-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 28vw);
  grid-template-columns: none;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding-bottom: 8px;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.reviews-carousel .review-feature-card {
  scroll-snap-align: start;
  min-width: 0;
}

.reviews-carousel-shell .carousel-prev {
  left: 14px;
}

.reviews-carousel-shell .carousel-next {
  right: 14px;
}

@media (max-width: 1180px) {
  .reviews-carousel {
    grid-template-columns: none;
    grid-auto-columns: minmax(320px, 58vw);
  }
}

@media (max-width: 760px) {
  .reviews-carousel {
    grid-template-columns: none;
    grid-auto-columns: 88vw;
    gap: 14px;
    padding-right: 4vw;
  }

  .reviews-carousel-shell .carousel-btn {
    display: none;
  }

  .reviews-carousel .review-feature-image img {
    height: 390px;
  }
}

/* V22 mobile menu close + mobile-only list links */
@media (max-width: 860px) {
  .nav {
    z-index: 150;
  }

  .mobile-menu-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 160;
    transition: background .55s var(--ease-slow), border-color .55s var(--ease-slow), transform .55s var(--ease-slow), opacity .55s var(--ease-slow);
  }

  .mobile-menu-toggle[aria-expanded="true"] {
    background: rgba(5,5,5,.42);
    border-color: rgba(255,255,255,.18);
    transform: scale(.96);
  }

  .mobile-menu-toggle[aria-expanded="true"]::after {
    content: "Close";
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .mobile-menu {
    padding: 112px 24px 34px;
    justify-content: center;
  }

  .mobile-menu-links {
    width: 100%;
    gap: 2px;
  }

  .mobile-menu-links a {
    padding: 6px 0;
    font-size: clamp(29px, 8.5vw, 46px);
    line-height: .94;
  }

  .mobile-menu-links a.mobile-only-action {
    color: rgba(255,255,255,.64);
  }

  .mobile-menu-links a.mobile-only-action:hover,
  .mobile-menu-links a.mobile-only-action:focus-visible {
    color: #fff;
  }

  .mobile-menu-footer {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .mobile-menu-links a {
    font-size: clamp(26px, 8.2vw, 38px);
    padding: 5px 0;
  }
}


/* V24 footer-only GRID CREATIVE credit */
.grid-credit-desktop,
.grid-credit-mobile {
  display: none !important;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-grid-credit {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: rgba(255,255,255,.68);
  opacity: .82;
  transition: opacity .75s var(--ease-slow), transform .75s var(--ease-slow), color .75s var(--ease-slow);
}

.footer-grid-credit:hover {
  opacity: 1;
  color: #fff;
  transform: translateY(-2px);
}

.footer-grid-credit-copy {
  display: block;
  color: currentColor;
  font-size: 9px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: .16em;
  text-align: right;
  text-transform: uppercase;
}

.footer-grid-credit-copy strong {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 860;
  letter-spacing: .11em;
}

.footer-grid-credit-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: block;
  background: currentColor;
  -webkit-mask: url('../images/logos/grid-creative-icon.svg') center / contain no-repeat;
  mask: url('../images/logos/grid-creative-icon.svg') center / contain no-repeat;
}

@media (max-width: 760px) {
  .footer {
    padding-bottom: 104px;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .footer-meta {
    width: 100%;
    align-items: center;
    gap: 8px;
  }

  .footer-grid-credit {
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,.26);
  }

  .footer-grid-credit-icon {
    display: none;
  }

  .footer-grid-credit-copy {
    font-size: 11px;
    line-height: 1;
    letter-spacing: .12em;
    text-align: center;
  }

  .footer-grid-credit-copy br {
    display: none;
  }

  .footer-grid-credit-copy strong {
    display: inline;
    margin-top: 0;
    margin-left: .35em;
    font-size: inherit;
    letter-spacing: inherit;
  }
}


/* V25 footer GRID credit text-only, matching copyright dimensions */
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-grid-credit {
  display: block;
  color: inherit;
  opacity: 1;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  text-align: right;
  border: 0;
  transform: none;
  transition: opacity .55s var(--ease-slow);
}

.footer-grid-credit:hover {
  color: inherit;
  opacity: 1;
  transform: none;
}

.footer-grid-credit-copy,
.footer-grid-credit-copy strong,
.footer-grid-credit-icon {
  display: none !important;
}

@media (max-width: 760px) {
  .footer-meta {
    align-items: center;
    gap: 6px;
  }

  .footer-grid-credit {
    text-align: center;
    border: 0;
    font: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
  }
}


/* V26 footer GRID CREATIVE glow */
.footer-grid-credit {
  color: rgba(255,255,255,.82);
  text-shadow:
    0 0 10px rgba(255,255,255,.34),
    0 0 24px rgba(255,255,255,.16);
}

.footer-grid-credit:hover {
  color: #fff;
  text-shadow:
    0 0 12px rgba(255,255,255,.52),
    0 0 34px rgba(255,255,255,.24);
}
