/*
 * Final art-direction polish - 2026-07-27
 *
 * A deliberately small, presentation-focused layer. It preserves the
 * approved information architecture and type scale while giving the existing
 * editorial system more compositional depth and more considered interaction.
 */

:root {
  --polish-plum: #b5529e;
  --polish-ink: #111111;
  --polish-paper: #f8f8f6;
  --polish-line: rgba(17, 17, 17, 0.12);
  --polish-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

::selection {
  color: #fff;
  background: var(--polish-plum);
}

.site-header {
  transition: background-color 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

body.is-scrolled .site-header {
  background: rgba(248, 248, 246, 0.96);
  border-bottom-color: rgba(17, 17, 17, 0.14);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.035);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(248, 248, 246, 0.84);
    backdrop-filter: blur(18px) saturate(1.06);
  }
}

.site-header .brand {
  position: relative;
  transition: opacity 220ms ease;
}

.site-header .brand::after {
  position: absolute;
  right: -14px;
  bottom: -10px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--polish-plum);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 220ms ease, transform 220ms var(--polish-ease);
}

.site-header .brand:hover::after,
.site-header .brand:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.menu-links a {
  position: relative;
  padding: 6px 0;
}

.nav-action,
.button {
  transition-duration: 260ms;
  transition-timing-function: var(--polish-ease);
}

.button.plum,
.button:not(.secondary):not(.light) {
  background: var(--polish-ink);
  border-color: var(--polish-ink);
}

.button.plum:hover,
.button.plum:focus-visible,
.button:not(.secondary):not(.light):hover,
.button:not(.secondary):not(.light):focus-visible {
  background: var(--polish-plum);
  border-color: var(--polish-plum);
  box-shadow: 0 16px 34px rgba(181, 82, 158, 0.2);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--polish-ink);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.07);
}

.hero .section-label,
.page-hero .section-label,
.work-hero .section-label,
.case-study-heading .section-label {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero .section-label::before,
.page-hero .section-label::before,
.work-hero .section-label::before,
.case-study-heading .section-label::before {
  width: 20px;
  height: 1px;
  content: "";
  background: currentColor;
}

/* The hero copy retains the full thought, but leads with the situation a
 * founder or operator is most likely to recognize on first scan. */
.hero .lead {
  display: grid;
  gap: 0.72rem;
}

.hero .lead span {
  display: block;
}

.hero .lead .lead-primary {
  color: var(--polish-ink);
  font-weight: 600;
}

.hero-atlas {
  isolation: isolate;
  box-shadow: 28px 30px 0 #eeece8, 0 30px 58px rgba(17, 17, 17, 0.09);
  transition: transform 700ms var(--polish-ease), box-shadow 700ms var(--polish-ease);
  transform: translate3d(0, var(--atlas-depth, 0), 0);
}

.hero-atlas img {
  transition: transform 900ms var(--polish-ease), filter 600ms ease;
  will-change: transform;
}

.hero-atlas:hover {
  box-shadow: 30px 34px 0 #eae7e3, 0 36px 66px rgba(17, 17, 17, 0.13);
}

.hero-atlas:hover img {
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.018);
}

.hero-proof {
  position: relative;
}

.hero-proof::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 28%;
  height: 2px;
  content: "";
  background: var(--polish-plum);
}

.section-heading {
  position: relative;
}

.section-heading::after {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: 38px;
  height: 38px;
  content: "";
  border-right: 1px solid var(--polish-line);
  border-bottom: 1px solid var(--polish-line);
  opacity: 0.75;
}

.problem-field-graphic {
  position: relative;
  height: clamp(11.5rem, 19vw, 16rem);
  margin: 0 0 clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
  background: #eae9e5;
  box-shadow: 18px 20px 0 rgba(17, 17, 17, 0.04), 0 22px 46px rgba(17, 17, 17, 0.055);
}

.problem-field-graphic::before,
.starting-field-note::before {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  width: 26px;
  height: 1px;
  content: "";
  background: rgba(17, 17, 17, 0.72);
}

.problem-field-graphic::after,
.starting-field-note::after {
  position: absolute;
  z-index: 1;
  top: 16px;
  right: 16px;
  width: 7px;
  height: 7px;
  content: "";
  border: 1px solid rgba(17, 17, 17, 0.72);
}

.problem-field-graphic img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 53%;
  filter: saturate(0.86) contrast(1.02);
  transition: transform 900ms var(--polish-ease), filter 500ms ease;
}

.problem-field-graphic:hover img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.018);
}

.problem-field-graphic figcaption,
.starting-field-note figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.95rem;
  color: #fff;
  background: rgba(13, 13, 13, 0.84);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.problem-field .card-kicker {
  display: block;
  margin: -2rem 0 0.95rem;
  color: var(--polish-plum);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.problem-field .card h3 {
  max-width: 18rem;
}

.problem-field .card p {
  max-width: 22rem;
}

.starting-field-note {
  position: relative;
  width: min(100%, 18.5rem);
  aspect-ratio: 4 / 5;
  margin: clamp(2rem, 4vw, 3.4rem) 0 0;
  overflow: hidden;
  background: #2b2b29;
  box-shadow: 15px 18px 0 rgba(181, 82, 158, 0.09), 0 22px 46px rgba(17, 17, 17, 0.09);
}

.starting-field-note img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  transition: transform 900ms var(--polish-ease), filter 500ms ease;
}

.starting-field-note:hover img {
  filter: saturate(1) contrast(1.03);
  transform: scale(1.022);
}

.problem-field .card,
.band .card,
.capability-grid .card,
.industry-grid .card {
  transition: background-color 360ms ease, box-shadow 420ms var(--polish-ease), transform 420ms var(--polish-ease), border-color 360ms ease;
}

.card:hover,
.card:focus-within {
  box-shadow: 12px 14px 0 rgba(181, 82, 158, 0.065), 0 22px 48px rgba(17, 17, 17, 0.045);
}

.smb-focus-ledger li,
.smb-starting-list > li,
.quebec-principles li {
  position: relative;
}

.smb-focus-ledger li::before,
.smb-starting-list > li::before,
.quebec-principles li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  content: "";
  background: var(--polish-plum);
  opacity: 0;
  transform: scaleY(0.3);
  transform-origin: center;
  transition: opacity 300ms ease, transform 400ms var(--polish-ease);
}

.smb-focus-ledger li:hover::before,
.smb-starting-list > li:hover::before,
.quebec-principles li:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.row-link {
  transition: background-color 300ms ease, color 300ms ease, padding 420ms var(--polish-ease), transform 420ms var(--polish-ease);
}

.row-link .case-preview {
  overflow: hidden;
}

.row-link .case-preview img {
  transition: transform 820ms var(--polish-ease), filter 420ms ease;
}

.row-link:hover .case-preview img,
.row-link:focus-visible .case-preview img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.045);
}

.work-feature-media {
  box-shadow: 18px 22px 0 rgba(17, 17, 17, 0.055), 0 22px 48px rgba(17, 17, 17, 0.055);
  transition: box-shadow 520ms var(--polish-ease), transform 520ms var(--polish-ease);
}

.work-feature:hover .work-feature-media {
  box-shadow: 22px 26px 0 rgba(181, 82, 158, 0.1), 0 30px 58px rgba(17, 17, 17, 0.09);
  transform: translateY(-5px);
}

.work-feature-copy .text-link,
.smb-focus-intro .text-link {
  text-underline-offset: 0.34em;
  text-decoration-thickness: 1px;
}

.case-study-hero,
.page-hero {
  position: relative;
}

.case-study-hero::after {
  position: absolute;
  z-index: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--polish-plum);
  border-radius: 50%;
  opacity: 0.78;
}

.case-study-hero::after {
  right: max(32px, calc((100vw - 1280px) / 2));
  bottom: 36px;
}

.case-study-heading,
.case-study-meta,
.page-hero-inner {
  position: relative;
  z-index: 1;
}

.case-media figure,
.case-research-visual,
.case-architecture-visual {
  box-shadow: 0 26px 54px rgba(17, 17, 17, 0.075);
}

.case-media figure {
  overflow: hidden;
}

.case-media img {
  transition: transform 900ms var(--polish-ease), filter 500ms ease;
}

.case-media figure:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.015);
}

.case-architecture-visual {
  border-color: rgba(181, 82, 158, 0.25);
}

.dark-band,
.work-principles,
.case-technologies {
  background-color: #0d0d0d;
}

.dark-band .feature-panel,
.work-principles > div,
.case-technologies-heading {
  position: relative;
  z-index: 1;
}

.cta-panel {
  overflow: hidden;
  box-shadow: 22px 24px 0 rgba(17, 17, 17, 0.05), 0 26px 58px rgba(17, 17, 17, 0.1);
}

.cta-panel .cta-architecture {
  transition: transform 900ms var(--polish-ease), opacity 500ms ease;
}

.cta-panel:hover .cta-architecture {
  opacity: 0.94;
  transform: translate3d(-8px, -4px, 0);
}

.form-panel {
  box-shadow: 16px 18px 0 rgba(17, 17, 17, 0.035), 0 20px 48px rgba(17, 17, 17, 0.05);
}

.field:focus-within label {
  color: var(--polish-plum);
}

.site-footer::after {
  position: absolute;
  right: 32px;
  bottom: 28px;
  width: 10px;
  height: 10px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.62);
  transform: rotate(45deg);
}

@media (max-width: 860px) {
  .section-heading::after {
    display: none;
  }

  .hero-atlas {
    box-shadow: 15px 17px 0 #eeece8, 0 18px 38px rgba(17, 17, 17, 0.08);
  }

  .work-feature-media {
    box-shadow: 12px 14px 0 rgba(17, 17, 17, 0.05), 0 18px 38px rgba(17, 17, 17, 0.06);
  }

  .problem-field-graphic {
    margin-bottom: 3.25rem;
  }
}

@media (max-width: 620px) {
  .hero .lead {
    gap: 0.6rem;
  }

  .problem-field-graphic {
    height: 10.5rem;
    margin-bottom: 2.6rem;
    box-shadow: 10px 12px 0 rgba(17, 17, 17, 0.04), 0 14px 30px rgba(17, 17, 17, 0.05);
  }

  .problem-field-graphic::before,
  .starting-field-note::before {
    top: 12px;
    left: 12px;
  }

  .problem-field-graphic::after,
  .starting-field-note::after {
    top: 12px;
    right: 12px;
  }

  .problem-field .card-kicker {
    margin-top: -1.3rem;
  }

  .starting-field-note {
    width: min(100%, 16rem);
    margin-top: 1.7rem;
  }
}

@media (hover: none) {
  .hero-atlas,
  .work-feature-media {
    transform: none;
  }

  .smb-focus-ledger li::before,
  .smb-starting-list > li::before,
  .quebec-principles li::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .brand,
  .site-header .brand::after,
  .nav-action,
  .button,
  .hero-atlas,
  .hero-atlas img,
  .problem-field-graphic img,
  .starting-field-note img,
  .card,
  .smb-focus-ledger li::before,
  .smb-starting-list > li::before,
  .quebec-principles li::before,
  .row-link,
  .row-link .case-preview img,
  .work-feature-media,
  .case-media img,
  .cta-panel .cta-architecture {
    transition: none;
  }
}
