/*
 * REZEEBA PREMIUM VISUAL PASS / 2026-09-21
 * Additive presentation layer. Copy, routes, forms, and grass film remain intact.
 */

:root {
  --premium-shadow: 0 24px 70px rgba(27, 40, 31, .10);
  --premium-shadow-soft: 0 16px 45px rgba(27, 40, 31, .07);
  --premium-border: rgba(34, 49, 40, .14);
  --premium-cream-glass: rgba(247, 243, 236, .88);
  --premium-ease: cubic-bezier(.2,.72,.25,1);
}

body.refined {
  background: var(--cream);
  color: var(--forest);
  overflow-x: clip;
}

body.refined::selection,
body.refined *::selection {
  background: var(--clay);
  color: var(--forest-2);
}

/* Global rhythm and typography */
.refined .section { position: relative; }
.refined .wrap { max-width: 1480px; }
.refined .h-sec {
  font-size: clamp(40px, 4.8vw, 72px);
  letter-spacing: -.055em;
  line-height: 1.02;
}
.refined .eyebrow,
.refined .form-eyebrow {
  font-size: 10px;
  letter-spacing: .19em;
  font-weight: 650;
}
.refined .eyebrow::before,
.refined .form-eyebrow::before {
  width: 28px;
  opacity: .72;
}

/* Buttons become one consistent, premium pill system. */
.refined .btn {
  border-radius: 999px;
  min-height: 54px;
  padding: 16px 24px;
  letter-spacing: -.01em;
  transition: background .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease, transform .28s var(--premium-ease);
}
.refined .btn:hover { box-shadow: 0 10px 28px rgba(34,49,40,.12); }
.refined .btn:active { transform: translateY(1px) scale(.985); }
.refined .btn--ghost,
.refined .btn--ghost-dark { border-color: rgba(34,49,40,.25); }

/* Navigation */
.refined .nav {
  height: 92px;
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.refined .nav.scrolled {
  background: var(--premium-cream-glass);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 0 10px 40px rgba(31,43,34,.05);
  border-bottom-color: rgba(34,49,40,.10);
}
.refined .nav__link {
  position: relative;
  transition: color .22s ease, opacity .22s ease;
}
.refined .nav__links:hover .nav__link:not(:hover) { opacity: .48; }
.refined .nav__link::after { transform-origin: left; }
.refined .nav .btn { border-radius: 999px; }
.refined .brand { transition: transform .35s var(--premium-ease), opacity .2s ease; }
.refined .brand:hover { transform: translateY(-2px); }

/* Home hero stays full bleed. The film remains the hero. */
.page-home .hero {
  min-height: max(800px, 100svh);
  padding-top: 188px;
  padding-bottom: 160px;
}
.page-home .hero__video {
  filter: saturate(.72) contrast(1.02);
  transform: scale(1.015);
}
.page-home .hero__bg::after {
  background:
    linear-gradient(90deg,rgba(11,24,15,.82) 0%,rgba(13,27,18,.56) 48%,rgba(15,29,20,.14) 78%),
    linear-gradient(180deg,rgba(9,19,13,.56) 0%,transparent 28%,transparent 67%,rgba(13,27,18,.45) 100%);
}
.page-home .hero__title {
  max-width: 1220px;
  font-size: clamp(64px, 7.7vw, 118px);
  letter-spacing: -.065em;
  line-height: 1.01;
  text-wrap: balance;
}
.page-home .hero__title .accent { color: #e8b99d; }
.page-home .hero__sub {
  max-width: 56ch;
  margin-top: 38px;
  color: rgba(247,243,236,.88);
}
.page-home .hero__cta { margin-top: 4px; }
.page-home .hero-scroll,
.refined .video-toggle { transition: opacity .25s ease, transform .25s ease, background .25s ease; }
.page-home .hero-scroll:hover { transform: translateY(3px); }
.refined .video-toggle:hover { transform: scale(1.06); }

/* Capability strip */
.page-home .marquee {
  border-top: 1px solid rgba(247,243,236,.10);
  border-bottom: 1px solid rgba(247,243,236,.10);
}
.page-home .marquee__track { padding-block: 25px; }
.page-home .marquee__item {
  position: relative;
  padding-left: 16px;
  letter-spacing: .07em;
  color: rgba(216,224,216,.82);
}
.page-home .marquee__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
  transform: translateY(-50%);
}

/* Brand reach matrix */
.refined .work { overflow: hidden; }
.refined .work__head { margin-bottom: 64px; }
.page-home #logoGrid,
.page-about .brands__grid {
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid var(--premium-border);
  border-left: 1px solid var(--premium-border);
}
.page-home #logoGrid .brand-cell,
.page-about .brands__grid .brand-cell {
  min-height: 124px;
  padding: 28px 20px;
  border-right: 1px solid var(--premium-border);
  border-bottom: 1px solid var(--premium-border);
  background: rgba(255,255,255,.06);
  overflow: hidden;
  transition: background .35s ease !important;
}
.refined .brand-logo,
.refined .brand-cell img {
  opacity: .64;
  transition: opacity .35s ease, filter .35s ease, transform .45s var(--premium-ease) !important;
}
.page-home #logoGrid .brand-cell:hover,
.page-about .brands__grid .brand-cell:hover { background: rgba(255,255,255,.55); }
.page-home #logoGrid .brand-cell:hover img,
.page-about .brands__grid .brand-cell:hover img {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.06) !important;
}

/* Manifesto gets a more editorial composition. */
.page-home .manifesto {
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(111,143,122,.17), transparent 29%),
    var(--forest);
}
.page-home .manifesto::after {
  content: 'rezeeba';
  position: absolute;
  right: -1.5vw;
  bottom: -4vw;
  font-size: clamp(120px, 20vw, 330px);
  line-height: .72;
  font-weight: 650;
  letter-spacing: -.09em;
  color: rgba(247,243,236,.035);
  pointer-events: none;
  user-select: none;
}
.page-home .manifesto .wrap {
  grid-template-columns: minmax(150px,220px) minmax(0,1fr);
  gap: clamp(50px,8vw,130px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.page-home .manifesto__lead { position: sticky; top: 130px; }
.page-home .manifesto__text {
  max-width: 29ch;
  font-size: clamp(36px,4.2vw,62px);
  line-height: 1.2;
  letter-spacing: -.05em;
}
.page-home .manifesto__word {
  opacity: .18;
  transition: opacity .24s linear;
}
.page-home .manifesto__word.is-lit { opacity: 1; }

/* Services */
.refined .services { overflow: hidden; }
.refined .services__head { margin-bottom: 64px; }
.refined .svc { position: relative; overflow: hidden; }
.refined .svc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(111,143,122,.09), rgba(201,142,110,.04));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s var(--premium-ease);
  pointer-events: none;
}
.refined .svc:hover::before,
.refined .svc.open::before { transform: scaleY(1); }
.refined .svc__head {
  position: relative;
  z-index: 1;
  min-height: 112px;
  transition: padding .35s var(--premium-ease) !important;
}
.refined .svc__head:hover { padding-left: 12px; }
.refined .svc__name { transition: color .3s ease !important; }
.refined .svc:hover .svc__name,
.refined .svc.open .svc__name { color: var(--clay-deep); }
.refined .svc__plus {
  transition: transform .35s var(--premium-ease), background .3s ease, color .3s ease, border-color .3s ease;
}
.refined .svc.open .svc__plus { transform: rotate(45deg); }
.refined .svc__panel { position: relative; z-index: 1; transition: grid-template-rows .5s var(--premium-ease) !important; }

/* Shared CTA */
.refined .cta {
  min-height: 700px;
  overflow: hidden;
  background: #dfe7df;
}
.refined .cta__sun {
  background: radial-gradient(circle at 50% 35%, #e8b99d 0%, var(--clay) 54%, #bd7956 100%);
  box-shadow: inset 0 0 80px rgba(255,255,255,.08);
}
.refined .cta__title { max-width: 16ch; }
.refined .cta__row .btn { min-width: 176px; justify-content: center; }

/* Interior page hero. Stronger, cleaner, and more memorable than the previous flat cream opening. */
.page-work .page-hero,
.page-plans .page-hero,
.page-contact .page-hero,
.page-privacy .page-hero,
.page-404 .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(111,143,122,.32), transparent 28%),
    radial-gradient(circle at 14% 90%, rgba(201,142,110,.13), transparent 30%),
    var(--forest);
  color: var(--cream);
  border-bottom: 0;
}
.page-work .page-hero::before,
.page-plans .page-hero::before,
.page-contact .page-hero::before,
.page-privacy .page-hero::before,
.page-404 .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(247,243,236,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(247,243,236,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 86%);
}
.page-work .page-hero .eyebrow,
.page-plans .page-hero .eyebrow,
.page-contact .page-hero .eyebrow,
.page-privacy .page-hero .eyebrow,
.page-404 .page-hero .eyebrow { color: #c9d4ca; }
.page-work .page-hero__title,
.page-plans .page-hero__title,
.page-contact .page-hero__title,
.page-privacy .page-hero__title,
.page-404 .page-hero__title { color: var(--cream); }
.page-work .page-hero__sub,
.page-plans .page-hero__sub,
.page-contact .page-hero__sub,
.page-privacy .page-hero__sub,
.page-404 .page-hero__sub { color: rgba(247,243,236,.70); }
.page-work .page-hero .accent,
.page-plans .page-hero .accent,
.page-contact .page-hero .accent,
.page-privacy .page-hero .accent,
.page-404 .page-hero .accent { color: #e8b99d; }
.page-work .nav:not(.scrolled),
.page-plans .nav:not(.scrolled),
.page-contact .nav:not(.scrolled),
.page-privacy .nav:not(.scrolled),
.page-404 .nav:not(.scrolled) { background: transparent; color: var(--cream); }
.page-work .nav:not(.scrolled) .btn--primary,
.page-plans .nav:not(.scrolled) .btn--primary,
.page-contact .nav:not(.scrolled) .btn--primary,
.page-privacy .nav:not(.scrolled) .btn--primary,
.page-404 .nav:not(.scrolled) .btn--primary { background: var(--cream); color: var(--forest); }

/* Experience page */
.page-work .page-hero { min-height: 720px; padding-top: 170px; padding-bottom: 88px; }
.page-work .work-hero__wrap { grid-template-columns: 1.08fr .92fr; gap: clamp(60px,8vw,130px); }
.page-work .work-hero__logos {
  height: 445px;
  gap: 24px;
  padding-inline: 12px;
  mask-image: linear-gradient(transparent,#000 11%,#000 89%,transparent);
  -webkit-mask-image: linear-gradient(transparent,#000 11%,#000 89%,transparent);
}
.page-work .logo-col__track {
  transform: none;
  animation: premiumLogoUp 34s linear infinite !important;
  will-change: transform;
}
.page-work .logo-col--down .logo-col__track { animation-name: premiumLogoDown !important; animation-duration: 39s !important; }
.page-work .logo-col__item { min-height: 104px; }
.page-work .logo-col__img {
  filter: grayscale(1) brightness(0) invert(1) !important;
  opacity: .48 !important;
  mix-blend-mode: normal !important;
  max-height: 48px;
}
.page-work .logo-col__item:hover .logo-col__img { opacity: .9 !important; transform: scale(1.06) !important; }
.page-work .work-hero__logos .brand-fallback { color: var(--cream); opacity: .7; }
@keyframes premiumLogoUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes premiumLogoDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.refined .brand-reach { background: var(--cream); }
.refined .brand-reach__group { margin-top: 70px; padding-top: 34px; }
.refined .brand-reach__grid .brand-cell {
  min-height: 125px;
  padding: 24px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: background .3s ease, border-color .3s ease !important;
}
.refined .brand-reach__grid .brand-cell:hover { background: var(--paper); border-color: var(--premium-border); }
.refined .brand-reach__grid .brand-cell:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.05) !important; }

/* Plans */
.page-plans .plans-hero { padding-top: 178px; }
.page-plans .plans-hero__tiers { border-color: rgba(247,243,236,.18); }
.page-plans .plans-hero__tier-pill {
  color: rgba(247,243,236,.78);
  border-color: rgba(247,243,236,.18);
  transition: background .3s ease, color .3s ease !important;
}
.page-plans .plans-hero__tier-pill:hover { background: rgba(247,243,236,.08); color: var(--cream); }
.page-plans .plans { padding-top: 100px; }
.page-plans .plans__grid { gap: 22px; }
.page-plans .plan {
  position: relative;
  padding: 58px 32px 32px;
  border-radius: 18px;
  overflow: hidden;
  border-color: rgba(34,49,40,.13);
  box-shadow: 0 12px 42px rgba(34,49,40,.045) !important;
  transition: transform .45s var(--premium-ease), box-shadow .45s ease, border-color .3s ease !important;
}
.page-plans .plan::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: var(--sage);
}
.page-plans .plan--sprout::before { background: var(--clay); }
.page-plans .plan--canopy::before { background: var(--forest); }
.page-plans .plan:hover {
  transform: translateY(-10px) !important;
  box-shadow: var(--premium-shadow) !important;
  border-color: rgba(34,49,40,.22);
}
.page-plans .plan--sprout {
  background: linear-gradient(180deg,#edf1e9 0%,#e7ece4 100%);
  border-color: rgba(87,112,99,.32);
}
.page-plans .plan__badge {
  top: 24px;
  left: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(87,112,99,.10);
}
.page-plans .plan__illus { right: 30px; top: 34px; opacity: .78; }
.page-plans .plan__name { font-size: clamp(33px,2.6vw,41px); margin-top: 4px; }
.page-plans .plan__tagline { min-height: 86px; }
.page-plans .plan__cta .btn { border-radius: 999px; }
.page-plans .compare { background: #e9e7df; }
.page-plans .compare__table-wrap {
  border-radius: 16px;
  overflow: clip;
  box-shadow: var(--premium-shadow-soft);
}
.page-plans .compare__table thead th { padding-block: 25px; }
.page-plans .compare__table tbody tr { transition: background .18s ease; }
.page-plans .compare__table tbody tr:hover { background: rgba(111,143,122,.08); }
.page-plans .addons__grid { gap: 0 80px; }
.page-plans .addon {
  position: relative;
  padding: 32px 0 36px;
  transition: padding-left .35s var(--premium-ease) !important;
}
.page-plans .addon::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 0;
  background: var(--clay);
  transition: width .45s var(--premium-ease);
}
.page-plans .addon:hover { padding-left: 14px; }
.page-plans .addon:hover::before { width: 72px; }
.page-plans .faq { background: #e9e7df; }
.page-plans .faq__item { transition: background .3s ease; }
.page-plans .faq__item[open] { background: rgba(247,243,236,.58); }
.page-plans .faq__q { padding-left: 0; transition: padding-left .3s var(--premium-ease), color .2s ease; }
.page-plans .faq__q:hover { padding-left: 10px; color: var(--clay-deep); }

/* About */
.page-about .founders--top {
  padding-top: 170px;
  background:
    radial-gradient(circle at 88% 4%, rgba(111,143,122,.11), transparent 24%),
    var(--cream);
}
.page-about .founders--top .h-sec { max-width: 14ch; }
.page-about .founders { background: #e9e7df; overflow: hidden; }
.page-about .founders__img-float {
  max-width: 500px;
  border-radius: 18px;
  box-shadow: 0 25px 65px rgba(34,49,40,.12);
  transform: translateY(var(--founder-shift,0px));
  transition: transform .1s linear;
}
.page-about .founders__img-tag { padding-left: 14px; border-left: 2px solid var(--clay); }
.page-about .founders__headline { max-width: 13ch; }
.page-about .cofounders__grid { gap: 28px; }
.page-about .cf-card {
  grid-template-columns: 120px 1fr;
  border: 1px solid var(--premium-border);
  border-radius: 18px;
  padding: 30px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(34,49,40,.035);
  transition: transform .4s var(--premium-ease), box-shadow .4s ease, border-color .3s ease !important;
}
.page-about .cf-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: var(--premium-shadow-soft);
  border-color: rgba(34,49,40,.22);
}
.page-about .cf-card__headshot { width: 120px; height: 120px; border-radius: 14px; }
.page-about .cf-card__body { padding-top: 30px; }

/* Contact */
.page-contact .page-hero { min-height: 900px; padding-top: 176px; }
.page-contact .contact-email {
  color: var(--cream);
  border-color: #e8b99d;
  transition: color .2s ease;
}
.page-contact .contact-email:hover { color: #e8b99d; }
.page-contact .contact-graphic__envelope {
  border-color: rgba(247,243,236,.25);
  background: rgba(247,243,236,.05);
}
.refined .contact-form-card {
  border-radius: 20px;
  border-color: rgba(255,255,255,.4);
  padding: 44px;
  box-shadow: 0 30px 90px rgba(7,17,10,.24);
  backdrop-filter: blur(8px);
}
.refined .form-input {
  border-radius: 10px;
  background: rgba(247,243,236,.58);
  padding: 14px 15px;
  transition: border-color .24s ease, box-shadow .24s ease, background .24s ease, transform .24s ease;
}
.refined .form-input:hover { border-color: rgba(34,49,40,.42); }
.refined .form-input:focus {
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(111,143,122,.14);
  transform: translateY(-1px);
}
.refined .form-modal {
  border-radius: 20px;
  box-shadow: 0 34px 120px rgba(0,0,0,.20);
}
.refined .form-overlay {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Legal */
.refined .legal__wrap { max-width: 840px; }
.refined .legal__h2 { font-size: 26px; }

/* Footer becomes a branded closing moment. */
.refined .footer {
  position: relative;
  overflow: hidden;
  background: var(--forest-2);
  color: var(--cream);
  padding-top: 92px;
  padding-bottom: 34px;
}
.refined .footer::before {
  content: 'rezeeba';
  position: absolute;
  left: var(--gutter);
  bottom: -3.4vw;
  font-size: clamp(130px,18vw,280px);
  line-height: .72;
  font-weight: 650;
  letter-spacing: -.095em;
  color: rgba(247,243,236,.035);
  pointer-events: none;
  user-select: none;
}
.refined .footer .wrap { position: relative; z-index: 1; }
.refined .footer__brand,
.refined .footer__col a,
.refined .to-top { color: var(--cream); }
.refined .footer__about,
.refined .footer__bottom { color: rgba(247,243,236,.55); }
.refined .footer__col h4 { color: #aebcad; }
.refined .footer__col a { opacity: .82; transition: opacity .2s ease, transform .25s var(--premium-ease), color .2s ease; }
.refined .footer__col a:hover { opacity: 1; color: #e8b99d; transform: translateX(4px); }
.refined .footer__bottom { border-color: rgba(247,243,236,.12); }
.refined .footer__bottom a:hover { color: var(--cream); }
.refined .to-top .seed { background: var(--clay); }
.refined .footer__brand .logo-img { filter: brightness(0) invert(1); opacity: .92; }

/* Scroll and load motion. The page remains fully readable if JavaScript is unavailable. */
html.motion-ready .refined .motion-item,
html.motion-ready .refined .reveal:not(.is-visible) {
  opacity: 0 !important;
  transform: translateY(26px) !important;
}
html.motion-ready .refined .motion-item.is-visible,
html.motion-ready .refined .reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity .8s var(--premium-ease), transform .8s var(--premium-ease) !important;
  transition-delay: var(--reveal-delay,0ms) !important;
}
html.motion-ready .page-home .hero__line {
  opacity: 0;
  transform: translateY(42px);
  clip-path: inset(0 0 100% 0);
}
html.motion-ready body.page-entered.page-home .hero__line {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition: transform 1s var(--premium-ease), opacity .65s ease, clip-path 1s var(--premium-ease);
}
html.motion-ready body.page-entered.page-home .hero__line:nth-child(2) { transition-delay: .12s; }
html.motion-ready .refined .page-hero .eyebrow,
html.motion-ready .refined .page-hero__title,
html.motion-ready .refined .page-hero__sub,
html.motion-ready .page-plans .plans-hero__tiers,
html.motion-ready .page-contact .contact-email {
  opacity: 0;
  transform: translateY(20px);
}
html.motion-ready body.page-entered.refined .page-hero .eyebrow,
html.motion-ready body.page-entered.refined .page-hero__title,
html.motion-ready body.page-entered.refined .page-hero__sub,
html.motion-ready body.page-entered.page-plans .plans-hero__tiers,
html.motion-ready body.page-entered.page-contact .contact-email {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s ease, transform .9s var(--premium-ease);
}
html.motion-ready body.page-entered.refined .page-hero__title { transition-delay: .08s; }
html.motion-ready body.page-entered.refined .page-hero__sub { transition-delay: .17s; }
html.motion-ready body.page-entered.page-plans .plans-hero__tiers,
html.motion-ready body.page-entered.page-contact .contact-email { transition-delay: .24s; }

@media (hover:hover) and (pointer:fine) {
  .refined .magnetic { will-change: transform; }
}

@media (max-width: 1100px) {
  .page-home #logoGrid,
  .page-about .brands__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .page-home #logoGrid .brand-cell,
  .page-about .brands__grid .brand-cell { min-height: 112px; }
  .page-about .cf-card { grid-template-columns: 104px 1fr; }
  .page-about .cf-card__headshot { width: 104px; height: 104px; }
}

@media (max-width: 800px) {
  .refined .nav { height: 78px; }
  .refined .menu { top: 78px; }
  .refined .menu {
    background:
      radial-gradient(circle at 90% 10%, rgba(111,143,122,.11), transparent 28%),
      var(--cream);
  }
  .refined .menu > a { padding: 24px 0; }
  .page-home .hero { padding-top: 160px; }
  .page-home .manifesto { min-height: auto; }
  .page-home .manifesto .wrap { grid-template-columns: 1fr; }
  .page-home .manifesto__lead { position: static; }
  .page-home .manifesto__text { max-width: 100%; }
  .page-work .page-hero,
  .page-plans .page-hero,
  .page-contact .page-hero,
  .page-privacy .page-hero,
  .page-404 .page-hero { padding-top: 140px; }
  .page-work .work-hero__logos { height: 220px; margin-top: 22px; }
  .page-work .logo-col__track { animation-duration: 27s !important; }
  .page-work .logo-col--down .logo-col__track { animation-duration: 31s !important; }
  .page-plans .plans__grid { max-width: 620px; }
  .page-plans .plan { padding: 58px 30px 30px; }
  .page-about .founders__grid { gap: 44px; }
  .page-about .cf-card { padding: 26px; }
  .page-contact .page-hero { min-height: auto; }
  .refined .contact-form-card { padding: 34px; }
  .refined .footer { padding-top: 72px; }
}

@media (max-width: 520px) {
  .refined .btn { min-height: 48px; padding: 13px 18px; }
  .page-home .hero { min-height: max(760px,100svh); padding-top: 145px; padding-bottom: 136px; }
  .page-home .hero__title { font-size: clamp(48px,13.6vw,68px); }
  .page-home .hero__sub { margin-top: 29px; }
  .page-home #logoGrid,
  .page-about .brands__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .page-home #logoGrid .brand-cell,
  .page-about .brands__grid .brand-cell { min-height: 88px; padding: 18px 8px; }
  .page-home .manifesto__text { font-size: 31px; line-height: 1.34; }
  .refined .svc__head:hover { padding-left: 0; }
  .refined .cta { min-height: 580px; }
  .page-work .page-hero,
  .page-plans .page-hero,
  .page-contact .page-hero,
  .page-privacy .page-hero,
  .page-404 .page-hero { padding-top: 132px; }
  .page-work .work-hero__logos { height: 174px; }
  .page-plans .plans-hero__tier-pill { padding-inline: 8px; }
  .page-plans .plan { border-radius: 15px; padding: 56px 24px 25px; }
  .page-plans .plan__badge { left: 24px; }
  .page-plans .plan__illus { right: 22px; }
  .page-about .founders--top { padding-top: 132px; }
  .page-about .founders__img-float { border-radius: 15px; }
  .page-about .cf-card { grid-template-columns: 88px 1fr; padding: 22px; border-radius: 15px; }
  .page-about .cf-card__headshot { width: 88px; height: 88px; border-radius: 11px; }
  .refined .contact-form-card { padding: 29px 23px; border-radius: 16px; }
  .refined .form-modal { border-radius: 16px; }
  .refined .footer::before { bottom: -2vw; }
}

@media (prefers-reduced-motion: reduce) {
  .page-work .logo-col__track { animation: none !important; transform: none !important; }
  html.motion-ready .refined .motion-item,
  html.motion-ready .refined .reveal,
  html.motion-ready .page-home .hero__line,
  html.motion-ready .refined .page-hero .eyebrow,
  html.motion-ready .refined .page-hero__title,
  html.motion-ready .refined .page-hero__sub,
  html.motion-ready .page-plans .plans-hero__tiers,
  html.motion-ready .page-contact .contact-email {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* Navigation state corrections for dark page openings and mobile menu. */
.refined .nav.scrolled .brand .logo-img,
.refined.menu-open .nav .brand .logo-img { filter: none; }
.refined.menu-open .nav {
  background: var(--cream) !important;
  color: var(--forest) !important;
  border-bottom-color: var(--rule) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Modal entrance motion works with the existing accessible dialog behavior. */
.refined .form-overlay.is-open { animation: premiumOverlayIn .28s ease both; }
.refined .form-overlay.is-open .form-modal { animation: premiumModalIn .42s var(--premium-ease) both; }
@keyframes premiumOverlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes premiumModalIn { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }

/* Keep the brand mark in its native sage and clay colors on every background. */
.page-home .nav .brand .logo-img,
.page-work .nav .brand .logo-img,
.page-plans .nav .brand .logo-img,
.page-contact .nav .brand .logo-img,
.page-privacy .nav .brand .logo-img,
.page-404 .nav .brand .logo-img,
.refined .footer__brand .logo-img {
  filter: none !important;
}


/* 2026-09-22 client revision pass */
.page-home .hero__title { line-height: 1.04; }
.page-home .hero__line { display: block; padding-bottom: 0.11em; }
.page-home .hero__line:last-child { padding-bottom: 0; }
.page-home .hero__sub { margin-top: 28px; }
.page-home .work { padding-top: clamp(3.6rem, 7vw, 6rem); }
.page-home .hero-scroll,
.page-home .marquee { display: none !important; }
.page-home #logoGrid .brand-cell,
.page-about .brands__grid .brand-cell,
.refined .brand-reach__grid .brand-cell,
.page-work .logo-col__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.refined .brand-logo,
.refined .brand-cell img,
.page-work .logo-col__img {
  display: block;
  margin-inline: auto;
  object-position: center center;
}
.page-home #logoGrid .brand-cell img,
.page-about .brands__grid .brand-cell img,
.refined .brand-reach__grid .brand-cell img {
  width: auto;
  max-width: 100%;
}
.page-home #logoGrid .brand-cell,
.page-about .brands__grid .brand-cell { min-height: 132px; }
.brand-logo--sound-bath,
.logo-col__img--sound-bath {
  border-radius: 999px;
}
.page-home .manifesto::after,
.refined .footer::before {
  content: none !important;
}
.page-about .founders { padding-top: 170px; }
.page-about .founders--top + .founders { padding-top: 0; }
@media (max-width: 800px) {
  .page-home .hero { padding-bottom: 118px; }
  .page-home .work { padding-top: clamp(3rem, 7vw, 4.5rem); }
  .page-about .founders { padding-top: 148px; }
}
@media (max-width: 520px) {
  .page-home .hero__title { font-size: clamp(48px,13.3vw,68px); line-height: 1.06; }
  .page-home .hero__line { padding-bottom: 0.14em; }
  .page-home .hero__sub { margin-top: 24px; }
  .page-home #logoGrid .brand-cell { min-height: 96px; }
  .page-home .work__head { margin-bottom: 44px; }
  .page-about .founders { padding-top: 132px; }
}

/* 2026-09-22 hero descender hotfix: keep reveal mask clear of g/j/p/q/y glyphs. */
.page-home .hero__line,
.page-home .hero__line:last-child {
  padding-bottom: 0.18em !important;
}

/* Definitive hero glyph fix: keep the entrance motion, remove the text clipping mask. */
html.motion-ready .page-home .hero__line,
html.motion-ready body.page-entered.page-home .hero__line,
.page-home .hero__line,
.page-home .hero__line:last-child {
  clip-path: none !important;
  -webkit-clip-path: none !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}


/* Rev 5: transparent Experience marks, restrained About iteration, Plans film hero. */
.page-work .logo-col__item {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.page-work .logo-col__img {
  filter: grayscale(1) brightness(0) invert(1) !important;
  opacity: .48 !important;
  mix-blend-mode: normal !important;
}
.page-work .logo-col__item:hover .logo-col__img { opacity: .9 !important; }

.page-about .founders__headline { max-width: 15ch; }
.page-about .founders__body { max-width: 65ch; }

.page-plans .plans-hero {
  min-height: max(760px, 92svh);
  display: flex;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 100px;
  background: var(--forest);
}
.page-plans .plans-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--forest);
}
.page-plans .plans-hero__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 50%;
  filter: saturate(.9) contrast(1.02);
  transform: scale(1.01);
}
.page-plans .page-hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,28,18,.82) 0%, rgba(13,28,18,.64) 46%, rgba(13,28,18,.36) 78%, rgba(13,28,18,.30) 100%),
    linear-gradient(180deg, rgba(8,19,12,.34) 0%, rgba(8,19,12,.08) 42%, rgba(8,19,12,.44) 100%);
  background-size: auto;
  mask-image: none;
  -webkit-mask-image: none;
}
.page-plans .plans-hero__orb { display: none !important; }
.page-plans .page-hero__wrap { z-index: 1; }
.page-plans .page-hero__title { max-width: 11ch; text-shadow: 0 2px 28px rgba(0,0,0,.16); }
.page-plans .page-hero__sub { color: rgba(247,243,236,.84); }
.page-plans .plans-hero__tiers { backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.page-plans .plans-video-toggle { bottom: 34px; }

@media (max-width: 800px) {
  .page-plans .plans-hero { min-height: max(720px, 92svh); padding-top: 132px; padding-bottom: 92px; }
  .page-plans .plans-hero__video { object-position: center center; }
  .page-plans .page-hero::before {
    background:
      linear-gradient(180deg, rgba(11,25,16,.62) 0%, rgba(11,25,16,.48) 45%, rgba(11,25,16,.66) 100%),
      linear-gradient(90deg, rgba(11,25,16,.34), rgba(11,25,16,.20));
  }
}

@media (max-width: 520px) {
  .page-plans .plans-hero { min-height: max(690px, 90svh); padding-top: 122px; padding-bottom: 86px; }
  .page-plans .page-hero__title { font-size: clamp(49px, 14.6vw, 68px); line-height: .98; }
  .page-plans .plans-video-toggle { bottom: 24px; }
}


/* ============================================================
   REV 6 EXPERIENCE HERO HOTFIX
   Curated transparent waterfall + explicit mobile composition.
   This block intentionally lives last so earlier legacy rules
   cannot disable or squeeze the animation on small screens.
   ============================================================ */
.page-work .work-hero__wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr) !important;
  gap: clamp(56px, 7vw, 116px) !important;
  align-items: center !important;
}
.page-work .work-hero__logos {
  position: relative !important;
  width: 100% !important;
  height: 430px !important;
  display: flex !important;
  gap: clamp(30px, 3vw, 54px) !important;
  padding-inline: 10px !important;
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%) !important;
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%) !important;
}
.page-work .logo-col {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}
.page-work .logo-col__track {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
  transform: translate3d(0,0,0);
  animation: rev6LogoUp 24s linear infinite !important;
  will-change: transform !important;
}
.page-work .logo-col--down .logo-col__track {
  animation-name: rev6LogoDown !important;
  animation-duration: 29s !important;
}
.page-work .logo-col__item,
.page-work .logo-col__item.motion-item,
html.motion-ready .page-work .logo-col__item.motion-item,
html.motion-ready .page-work .logo-col__item.motion-item.is-visible {
  width: 100% !important;
  height: 96px !important;
  min-height: 96px !important;
  padding: 18px 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.page-work .logo-col__img,
.page-work .logo-col__item .logo-col__img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(86%, 210px) !important;
  max-height: 52px !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  /* Curated waterfall only uses transparent-background marks. Flattening to white
     keeps the treatment consistent without exposing opaque source canvases. */
  filter: grayscale(1) brightness(0) invert(1) !important;
  mix-blend-mode: normal !important;
  opacity: .58 !important;
  transform: none !important;
}
.page-work .logo-col__item:hover .logo-col__img {
  opacity: .9 !important;
  transform: scale(1.04) !important;
  transition: opacity .25s ease, transform .3s var(--premium-ease) !important;
}
@keyframes rev6LogoUp {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(0,-50%,0); }
}
@keyframes rev6LogoDown {
  from { transform: translate3d(0,-50%,0); }
  to { transform: translate3d(0,0,0); }
}

@media (max-width: 900px) {
  .page-work .page-hero {
    min-height: auto !important;
    padding-top: 132px !important;
    padding-bottom: 72px !important;
  }
  .page-work .work-hero__wrap {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 46px !important;
  }
  .page-work .work-hero__text {
    width: 100% !important;
    max-width: 640px !important;
  }
  .page-work .work-hero__logos {
    width: min(100%, 620px) !important;
    height: 310px !important;
    justify-self: center !important;
    margin: 0 auto !important;
    gap: clamp(30px, 8vw, 72px) !important;
    padding-inline: clamp(4px, 4vw, 22px) !important;
  }
  .page-work .logo-col__track {
    animation: rev6LogoUp 21s linear infinite !important;
  }
  .page-work .logo-col--down .logo-col__track {
    animation: rev6LogoDown 25s linear infinite !important;
  }
  .page-work .logo-col__item,
  .page-work .logo-col__item.motion-item,
  html.motion-ready .page-work .logo-col__item.motion-item,
  html.motion-ready .page-work .logo-col__item.motion-item.is-visible {
    height: 82px !important;
    min-height: 82px !important;
    padding: 14px 4px !important;
  }
  .page-work .logo-col__img,
  .page-work .logo-col__item .logo-col__img {
    max-width: min(88%, 190px) !important;
    max-height: 44px !important;
    opacity: .62 !important;
  }
}

@media (max-width: 520px) {
  .page-work .page-hero {
    padding-top: 120px !important;
    padding-bottom: 62px !important;
  }
  .page-work .work-hero__wrap {
    gap: 40px !important;
  }
  .page-work .page-hero__title {
    font-size: clamp(46px, 12.4vw, 52px) !important;
    line-height: .97 !important;
    letter-spacing: -.045em !important;
    max-width: none !important;
    margin-top: 22px !important;
  }
  .page-work .work-title-line {
    white-space: nowrap !important;
  }
  .page-work .page-hero__sub {
    max-width: 29ch !important;
    margin-top: 24px !important;
    font-size: 16px !important;
    line-height: 1.62 !important;
  }
  .page-work .work-hero__logos {
    width: 100% !important;
    height: 292px !important;
    gap: 28px !important;
    padding-inline: 4px !important;
  }
  .page-work .logo-col__item,
  .page-work .logo-col__item.motion-item,
  html.motion-ready .page-work .logo-col__item.motion-item,
  html.motion-ready .page-work .logo-col__item.motion-item.is-visible {
    height: 78px !important;
    min-height: 78px !important;
    padding: 14px 2px !important;
  }
  .page-work .logo-col__img,
  .page-work .logo-col__item .logo-col__img {
    max-width: 92% !important;
    max-height: 40px !important;
    opacity: .64 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-work .logo-col__track,
  .page-work .logo-col--down .logo-col__track {
    animation-play-state: paused !important;
  }
}

/* Rev 7: keep the plan comparison table on desktop/tablet, hide it on phone layouts. */
@media (max-width: 767px) {
  .page-plans .compare {
    display: none !important;
  }
}
