/* ============================================================
   HOME PAGE STYLES (MATCHING DESIGN PDF PAGES 1 - 7)
   Calibrated for MacBook Pro 14" M4 (1512px), Desktop, & Mobile
   ============================================================ */

/* Page 1: Hero */
.hero {
  padding-top: clamp(1.8rem, 4vw, 2.8rem);
  padding-bottom: clamp(2rem, 4.5vw, 3rem);
  background: var(--paper);
}

.hero-grid-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-col-headline {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: clamp(3.4rem, 6.5vw, 6.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.hero-col-media {
  width: 40%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3.25;
  border-radius: 0;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(108%);
  display: block;
}

/* Hero Bottom Grid: 1/2 (50%) and 1/2 (50%) */
.hero-grid-bottom {
  display: flex;
  align-items: flex-start;
  margin-top: clamp(2.1rem, 1.5vw, 1.5rem);
}

.hero-kicker-col {
  display: flex;
  align-items: center;
  width: 60%;
}

.hero-kicker {
  font-size: clamp(1.25rem, 2.7vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.hero-summary-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 2.5vw, 3rem);
  width: 40%;
}

.hero-summary-text {
  font-size: clamp(0.85rem, 2.95vw, 1.1rem);
  line-height: 1.45;
  color: #383842;
  margin: 0;
  max-width: 510px;
}

.reforge-circle-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  box-shadow: none;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}

.reforge-circle-badge:hover {
  background: var(--purple);
  transform: scale(1.05);
}

/* Page 1 Bottom: Marquee Ticker (Left to Right Animation) */
.ticker-banner {
  background: #000000;
  color: #ffffff;
  padding: 14px 0;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.ticker-wrapper {
  display: flex;
  width: max-content;
}

.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
}

.ticker-item {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 3.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.ticker-item .tri {
  color: #551db8;
  font-size: 0.7rem;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* Page 2: PUSH -> PULL Purple Banner */
.push-pull-section {
  background: #3e159e;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(7rem, 14vw, 14.5rem) var(--pad);
  text-align: center;
}

.push-pull-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
  transition:
    opacity 0.45s var(--ease),
    transform 0.6s var(--ease);
}

.push-pull-section.is-playing .push-pull-video {
  opacity: 1;
  transform: scale(1);
}

.push-pull-section .push-pull-content {
  transition: opacity 0.3s var(--ease);
}

.push-pull-section.is-playing .push-pull-content {
  opacity: 0;
}

.concentric-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.circle-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.circle-ring.r1 {
  width: 380px;
  height: 380px;
}

.circle-ring.r2 {
  width: 780px;
  height: 780px;
}

.circle-ring.r3 {
  width: 1280px;
  height: 1280px;
}

.push-pull-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.push-pull-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3.5vw, 3.8rem);
  font-size: clamp(4.2rem, 12vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: #ffffff;
  margin: 0;
}

.push-pull-word {
  display: inline-block;
  line-height: 1;
}

.push-pull-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.4vw, 1.4rem);
  flex-shrink: 0;
}

.push-pull-eyebrow {
  font-size: clamp(0.6rem, 0.85vw, 0.82rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  line-height: 1;
  margin: 0;
}

.push-pull-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(70px, 12vw, 180px);
  color: #d6c4ff;
  flex-shrink: 0;
}

.push-pull-arrow img {
  width: 100%;
  height: auto;
  display: block;
  animation: push-pull-arrow-slide 1.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes push-pull-arrow-slide {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(12%);
  }
}

/* Page 3: Selected Work */
.selected-work-section {
  padding-top: clamp(5rem, 6vw, 9.5rem);
  padding-bottom: clamp(5rem, 6vw, 9.5rem);
}

.display-headline,
.what-brand-reforge {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  color: var(--ink);
  text-wrap: balance;
}

.what-brand-reforge {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.selected-work-header {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(210px, 1fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.selected-work-header .display-headline {
  font-size: clamp(1rem, 4.5cqi, 4rem);
  margin: 0;
}

.selected-work-header .display-headline span {
  display: block;
  white-space: nowrap;
}

.selected-work-link {
  min-height: 44px;
}

.selected-work-link:hover,
.selected-work-link:focus-visible {
  color: var(--purple);
  background: var(--lilac);
}

@media (max-width: 768px) {
  .selected-work-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .selected-work-header .display-headline {
    font-size: clamp(2.5rem, 5.5cqi, 5rem);
  }

  .selected-work-header .display-headline span {
    white-space: unset;
  }

  .selected-work-link {
    justify-self: left;
  }
}

.cards-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.cards-3-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2vw, 0.5rem);
}

.work-show-card {
  display: block;
}

.card-box {
  background: var(--card-blue);
  border-radius: 18px;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.cards-3-grid:not(.cards-3-grid--featured) .work-show-card:hover .card-box {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

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

.cards-3-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.4vw, 1.4rem);
}

.cards-3-grid--featured .card-box {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  aspect-ratio: 502 / 579;
  border-radius: 0.5rem;
  transition: none;
}

.card-box--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.75) 100%);
}

.card-box--cogipro {
  background: #d8ff3e;
}

.card-box--cogipro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0b0b0b;
  clip-path: polygon(0 0, 100% 0, 100% 2%, 0 88%);
}

.card-box--lavos {
  background: linear-gradient(150deg, #d7eee7 0%, #2a4b41 100%);
}

.card-box--lavos::before {
  content: "";
  position: absolute;
  top: 18.3%;
  left: 62.2%;
  width: 15.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
}

.card-caption {
  position: absolute;
  z-index: 1;
  right: 5.4%;
  bottom: 4.8%;
  left: 5.4%;
  color: #fff;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
  transition: transform 0.4s var(--ease);
}

.work-show-card:hover .card-caption,
.work-show-card:focus-visible .card-caption {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .card-caption {
    transition: none;
  }
}

.card-title {
  display: block;
  font-size: clamp(2rem, 11.2cqi, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.card-tagline {
  display: block;
  margin-top: 0.8rem;
  font-size: clamp(0.6rem, 2.6cqi, 0.8125rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-name {
  display: block;
  margin-top: 1.1rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.client-logos-section {
  padding: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  background: #fff;
}

.client-logos-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.client-logos-heading .section-eyebrow {
  margin: 0;
}

.client-logos-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
  cursor: pointer;
}

.client-logos-viewport {
  overflow-x: auto;
}

.client-logos-section.is-ready .client-logos-viewport {
  overflow: hidden;
}

.client-logos-track {
  display: flex;
  width: max-content;
}

.client-logos-section.is-ready .client-logos-track {
  animation: client-logos-scroll 110s linear infinite;
}

.client-logos-list {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(2rem, 4vw, 4rem);
  margin: 0;
  padding: 0 clamp(2rem, 4vw, 4rem) 0 0;
  list-style: none;
}

.client-logos-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(8rem, 11vw, 10rem);
  height: 7rem;
}

.client-logos-list img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 5rem;
  object-fit: contain;
}

.client-logos-section.is-paused .client-logos-track,
.client-logos-viewport:hover .client-logos-track,
.client-logos-viewport:focus-within .client-logos-track {
  animation-play-state: paused;
}

@keyframes client-logos-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logos-section.is-ready .client-logos-viewport {
    overflow-x: auto;
  }

  .client-logos-list[aria-hidden="true"],
  .client-logos-toggle {
    display: none;
  }
}

/* Page 4: What Brand Reforge Means / Shift Section */
.shift-section {
  padding-top: clamp(2rem, 1vw, 4rem);
  padding-bottom: clamp(5rem, 9vw, 9.5rem);
  background-color: #f6f4f8;
}

.shift-top-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(0.5rem, 1vw, 0rem);
}

.section-eyebrow {
  color: var(--purple);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin: 0 0 2rem;
}

.reforge-cta {
  background-color: var(--purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.8rem;
}

.reforge-cta:hover,
.reforge-cta:focus-visible {
  color: var(--purple);
  background: var(--lilac);
}

.reforge-cta:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}

.shift-sub-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.5;
  color: #404048;
  margin: 0;
  max-width: 440px;
}

.shift-comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
}

.shift-card-box {
  border-radius: 20px;
  padding: clamp(2.2rem, 4.5vw, 1rem);
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.push-card {
  background: #111116;
  color: #ffffff;
}

.push-card .card-big-title {
  font-size: clamp(3.5rem, 6.5vw, 5.8rem);
  font-weight: 800;
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.pull-card {
  background: var(--lilac);
  color: var(--ink);
}

.pull-card .card-big-title {
  color: var(--purple);
  font-size: clamp(3.5rem, 6.5vw, 5.8rem);
  font-weight: 800;
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
}

.shift-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.push-card .shift-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #efefef;
  padding: 0.6rem 0;
  font-size: clamp(1.3rem, 1.1vw, 1.12rem);
  font-weight: 550;
  letter-spacing: -0.01em;
}

.pull-card .shift-list li {
  border-bottom: 1px solid rgba(56, 19, 141, 0.18);
  color: var(--ink);
  padding: 0.6rem 0;
  font-size: clamp(1.3rem, 1.1vw, 1.12rem);
  font-weight: 550;
  letter-spacing: -0.01em;
}

.shift-middle-arrow {
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Page 5: Statement Banner Section */
.statement-banner-section {
  padding: clamp(6rem, 12vw, 12rem) 0;
  border-top: 1px solid var(--line);
}

.statement-hero-title {
  font-size: clamp(2.8rem, 6.5vw, 6.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

/* Page 6: 17 Years Business First (Dark) */
.business-first-dark {
  background: #0a0a0a;
  color: #ffffff;
  padding: clamp(5.5rem, 9.5vw, 9.5rem) 0;
}

.bf-layout-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
}

.bf-eyebrow-col {
  display: flex;
  flex-direction: column;
}

.bf-eyebrow-stack {
  color: #878787;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bf-content-col {
  display: flex;
  flex-direction: column;
}

.bf-title-wrap {
  margin-bottom: 0;
}

.bf-top-title {
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0;
  color: #ffffff;
  text-wrap: balance;
}

.bf-divider-line {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin: clamp(2.2rem, 3.8vw, 3.6rem) 0;
  width: 100%;
}

.bf-columns-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.5vw, 5rem);
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.55;
  color: #8c9099;
}

.bf-columns-split p {
  margin: 0;
}

.bf-white-highlight {
  color: #ffffff;
  font-weight: 100;
}

.bf-bottom-wrap {
  margin-top: 0;
}

.bf-bottom-title {
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0;
  color: #ffffff;
  text-wrap: balance;
}

.bf-bottom-title-light-purple-highlight {
  color: #b192f4;
}

.bf-purple-highlight {
  color: #41169e;
}

/* ============================================================
   RESPONSIVE OVERRIDES: HOME
   ============================================================ */

/* Mobile Screen Focus (max-width 768px) */
@media (max-width: 768px) {
  .hero {
    padding-top: 0.6rem;
    padding-bottom: 1.6rem;
  }

  .hero .shell {
    display: flex;
    flex-direction: column;
  }

  .hero-grid-top {
    display: contents;
  }

  .hero-col-headline {
    order: 1;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(2.35rem, 9.5vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 1.2rem;
  }

  .hero-grid-bottom {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 0;
  }

  .hero-kicker {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.4rem;
  }

  .hero-summary-col {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
  }

  .hero-summary-text {
    font-size: 0.95rem;
    line-height: 1.48;
    color: #404048;
    max-width: 100%;
  }

  .reforge-circle-badge {
    width: 78px;
    height: 78px;
    font-size: 8.5px;
    margin-bottom: 0.8rem;
  }

  .hero-col-media {
    order: 3;
    margin-top: 0.5rem;
    width: 100%;
  }

  .hero-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3.05;
    min-height: auto;
    max-height: none;
  }

  .push-pull-section {
    padding: 5rem 1.25rem;
  }

  .push-pull-heading {
    font-size: clamp(2.4rem, 12.5vw, 4.6rem);
    gap: clamp(0.75rem, 2.5vw, 1.6rem);
  }

  .push-pull-arrow {
    width: clamp(42px, 11vw, 80px);
  }

  .push-pull-center {
    gap: 0.45rem;
  }

  .push-pull-eyebrow {
    font-size: clamp(0.48rem, 1.8vw, 0.65rem);
    letter-spacing: 0.12em;
    margin: 0;
  }

  .circle-ring.r1 {
    width: 220px;
    height: 220px;
  }

  .circle-ring.r2 {
    width: 440px;
    height: 440px;
  }

  .circle-ring.r3 {
    width: 720px;
    height: 720px;
  }

  .cards-3-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .shift-top-header {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: clamp(1.6rem, 3vw, 0.5rem);
  }

  .shift-comparison-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .shift-middle-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }

  .shift-card-box {
    min-height: auto;
    padding: 2.2rem 1.6rem;
  }

  .statement-banner-section {
    padding: 8.5rem 1rem;
  }

  .statement-hero-title {
    font-size: clamp(2.2rem, 8.5vw, 4rem);
  }

  .bf-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bf-columns-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .selected-work-section {
    padding-top: clamp(1rem, 4vw, 9.5rem);
    padding-bottom: clamp(1rem, 4vw, 9.5rem);
    padding-right: 0;
    padding-left: 0;
  }

  .display-headline,
  .what-brand-reforge {
    margin: 0 0 clamp(1.5rem, 2vw, 1.5rem);
  }

  .card-name {
    margin-top: 0.5rem;
  }

  .section-eyebrow {
    margin: 0 0 0.4rem;
  }
}
