/* TpC local experiment — 14 Oct 2026.
   A and B share copy, brand files, navigation and the original controller.
   Only hero artwork, solution index and the action/closing palette vary. */

:root {
  --experiment-accent: #d5ff46;
  --experiment-accent-hover: #c8ef42;
  --experiment-surface: #e5eae5;
  --experiment-art: #dce4dc;
  --experiment-rule: #527077;
}

.cta {
  color: var(--agency-night);
  background: var(--experiment-accent);
  box-shadow: inset 0 0 0 1px var(--agency-night);
}

.cta:hover,
.cta:active {
  color: var(--agency-night);
  background: var(--experiment-accent-hover);
}

.cta:focus-visible {
  outline: 3px solid var(--agency-night);
  outline-offset: 4px;
}

/* Header stays in its original light capsule; the brand asset is unchanged. */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--agency-night);
  color: var(--agency-paper);
  overflow: clip;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 24px 0;
}

.hero-copy-inner {
  width: 100%;
  max-width: 680px;
  gap: 28px;
}

.hero-copy h1 {
  max-width: 18ch;
  color: var(--agency-paper);
  font-size: clamp(2.25rem, 9.65vw, 2.625rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 50ch;
  color: var(--agency-paper);
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -.012em;
}

.hero-copy .cta {
  min-height: 56px;
  margin-top: 4px;
}

.hero-copy .cta:focus-visible {
  outline-color: var(--agency-paper);
}

.site-header {
  background: rgb(245 245 242 / 96%);
}

.hero-art {
  position: relative;
  flex: none;
  width: min(100%, 560px);
  height: auto;
  margin: 32px auto 40px;
  pointer-events: none;
  user-select: none;
}

.organic-sculpture {
  display: block;
  width: 100%;
  height: auto;
  max-height: 370px;
}

.organic-body {
  fill: var(--experiment-art);
}

.organic-trail {
  stroke: var(--experiment-accent);
}

/* B: three familiar service labels arranged along one quiet editorial path. */
.hero-art-route {
  width: min(calc(100% - 48px), 540px);
}

.editorial-route {
  position: relative;
  width: 100%;
  aspect-ratio: 540 / 570;
  max-width: 540px;
  margin: 0 auto;
}

.route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route-line path {
  stroke: var(--experiment-rule);
  stroke-width: 1.5;
}

.route-line .route-line-accent {
  stroke: var(--experiment-accent);
  stroke-width: 4;
  stroke-linecap: round;
}

.route-stop {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  color: var(--agency-paper);
}

.route-stop-one {
  left: 17.037%;
  top: 16.842%;
  transform: translate(-18px, -50%);
}

.route-stop-two {
  right: 20%;
  top: 50%;
  flex-direction: row-reverse;
  transform: translate(18px, -50%);
}

.route-stop-three {
  left: 17.037%;
  top: 83.158%;
  transform: translate(-18px, -50%);
}

.route-node {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--experiment-rule);
  border-radius: 50%;
  background: var(--agency-night);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.route-stop-one .route-node {
  color: var(--agency-night);
  border-color: var(--experiment-accent);
  background: var(--experiment-accent);
}

.route-label {
  background: var(--agency-night);
  padding-block: 8px;
  font-size: clamp(1.375rem, 5.5vw, 2.125rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
}

/* Solutions: all text is present in every state; links navigate normally. */
.solution {
  background: var(--agency-paper);
  color: var(--agency-ink);
  padding-top: 48px;
}

.solution-intro h2 {
  color: var(--agency-ink);
}

.solution-copy {
  color: var(--agency-ink);
  font-size: 1.125rem;
  line-height: 1.5;
}

.service-nav {
  gap: 12px;
  border: 0;
}

.service-nav a {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  gap: 18px 12px;
  min-height: 0;
  padding: 28px 24px;
  border: 0;
  border-radius: 12px;
  background: var(--experiment-surface);
  color: var(--agency-ink);
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.service-nav .service-name {
  color: inherit;
  font-size: clamp(1.875rem, 7.7vw, 2.5rem);
}

.service-nav .service-description {
  max-width: 34ch;
  color: inherit;
  font-size: 1.125rem;
  line-height: 1.5;
}

.service-nav .service-index {
  color: inherit;
  font-size: .875rem;
  padding-top: .45em;
}

.service-nav a::before {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 30px;
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}

.service-art {
  display: none;
}

.service-nav a:hover,
.service-nav a:focus-visible,
.service-nav a:active {
  background: var(--agency-night);
  color: var(--agency-paper);
  text-decoration: none;
}

.service-nav a:is(:hover, :focus-visible, :active)::before {
  background: var(--experiment-accent);
}

.service-nav a:is(:hover, :focus-visible, :active) .service-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}

.service-nav a:focus-visible {
  outline: 3px solid var(--agency-night);
  outline-offset: 4px;
}

/* The closing uses the same dark ground; original fields and copy are untouched. */
.contact {
  background: var(--agency-night);
  color: var(--agency-paper);
}

.contact-copy p {
  font-size: 1.125rem;
  line-height: 1.5;
}

/* Neutralize the old decorative orange; testimonial layout and text are intact. */
.testimonial-mark {
  color: var(--agency-night);
}

@media (min-width: 641px) and (max-width: 900px) {
  .hero-copy {
    padding-top: 144px;
    padding-inline: 40px;
  }

  .hero-copy h1 {
    max-width: 20ch;
    font-size: 3rem;
  }

  .hero-copy .cta {
    width: auto;
  }

  .hero-art {
    margin-top: 40px;
  }
}

@media (min-width: 901px) {
  .hero {
    display: block;
    min-height: max(800px, 100svh);
  }

  .hero-copy {
    display: flex;
    align-items: center;
    min-height: max(800px, 100svh);
    padding: 80px 64px 184px;
  }

  .hero-copy-inner {
    width: 53%;
    max-width: 680px;
    gap: 32px;
  }

  .hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(3.5rem, 4.73vw, 4.25rem);
    line-height: 1.04;
  }

  .hero-copy p {
    max-width: 49ch;
  }

  .hero-copy .cta {
    width: auto;
  }

  .hero-art {
    position: absolute;
    top: 50%;
    right: max(24px, calc((100vw - 1440px) / 2 + 24px));
    width: min(43vw, 600px);
    margin: -48px 0 0;
    transform: translateY(-50%);
  }

  .organic-sculpture {
    max-height: none;
  }

  .hero-art-route {
    right: max(40px, calc((100vw - 1440px) / 2 + 40px));
    width: min(40vw, 540px);
  }

  .route-label {
    font-size: clamp(1.625rem, 2.35vw, 2.125rem);
  }

  .site-header {
    background: rgb(245 245 242 / 94%);
  }

  .solution {
    padding-top: 56px;
  }

  .service-nav {
    gap: 16px;
  }

  .service-nav a {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .95fr) 100px 2rem;
    column-gap: 32px;
    min-height: 192px;
    padding: 36px 40px;
    align-items: center;
  }

  .service-nav .service-name {
    font-size: clamp(2.5rem, 3.8vw, 3.5rem);
  }

  .service-nav .service-description {
    grid-column: 2;
  }

  .service-nav .service-index {
    grid-column: 4;
    padding-top: 0;
    font-size: 1rem;
  }

  .service-nav a::before {
    right: 50px;
    bottom: 39px;
  }

  .service-art {
    display: block;
    grid-column: 3;
    grid-row: 1;
    width: 88px;
    height: 108px;
    justify-self: center;
    border: 1px solid #9bada5;
    border-radius: 62% 38% 46% 54% / 45% 36% 64% 55%;
    transform: rotate(24deg);
  }

  .service-art-02 {
    width: 100px;
    height: 78px;
    border-radius: 42% 58% 65% 35% / 70% 45% 55% 30%;
    transform: rotate(-22deg);
  }

  .service-art-03 {
    width: 90px;
    height: 90px;
    border-radius: 60% 40% 35% 65% / 42% 58% 42% 58%;
    transform: rotate(38deg);
  }

  .service-nav a:is(:hover, :focus-visible, :active) .service-art {
    border-color: #759087;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .hero-copy {
    padding-inline: 40px;
  }

  .hero-copy-inner {
    width: 56%;
  }

  .hero-copy h1 {
    font-size: 3.5rem;
  }

  .hero-art {
    right: 0;
    width: 40vw;
  }

  .hero-art-route {
    right: 16px;
    width: 38vw;
  }

  .service-nav a {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 2rem;
    gap: 24px;
    padding: 32px;
  }

  .service-nav .service-index {
    grid-column: 3;
  }

  .service-art {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-nav a {
    transition: none;
  }
}
