/* Retained pages: index.html and contact.html. Cascade order is intentional.
   Unused selectors and superseded declarations removed; responsive states preserved. */

:root {
  --paper: #f7f7f2;
  --ink: #1c1d1a;
  --muted: #686963;
  --line: #d9dad2;
  --white: #fff;
  --sans: Arial,Helvetica,sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: currentcolor solid 2px;
  outline-offset: 6px;
}

::selection {
  background: rgb(37, 38, 34);
  color: rgb(255, 255, 255);
}

.wrap {
  max-width: 1320px;
  width: calc(100% - 112px);
  margin: auto;
}

.header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0px 56px;
  border-bottom: 1px solid var(--line);
  max-width: 1600px;
  margin: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -1px;
}

.brand svg {
  width: 35px;
  height: 35px;
}

.brand-ai {
  font-weight: 400;
}

.header nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}

.header nav a {
  padding: 12px 0px;
}

.header nav a:hover {
  color: rgb(118, 120, 112);
}

.eyebrow, .mono {
  font-family: var(--sans);
  font-weight: 400;
}

.eyebrow {
  margin: 0px 0px 30px;
}

.hero {
  display: grid;
  align-items: center;
}

.hero h1 {
  font-weight: 500;
  margin: 0px 0px 27px;
}

.serif {
  font-family: inherit;
  font-weight: inherit;
  font-style: normal;
  letter-spacing: inherit;
}

.hero-description {
  color: var(--muted);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

h2 {
  font-size: clamp(32px, 3.7vw, 50px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -2px;
  margin: 0px;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  font-weight: 500;
}

p {
  line-height: 1.75;
  color: var(--muted);
}

.eyebrow {
  color: var(--ink);
}

.intro {
  display: grid;
}

.expertise {
  background: rgb(239, 239, 233);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 55px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  margin-top: 55px;
  border-top: 1px solid rgb(204, 207, 195);
  border-left: 1px solid rgb(204, 207, 195);
}

.service-card {
  border-right: 1px solid rgb(204, 207, 195);
  border-bottom: 1px solid rgb(204, 207, 195);
  flex-direction: column;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgb(120, 122, 112);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  margin-top: 65px;
}

.steps article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.step-number {
  font-family: var(--sans);
  font-size: 38px;
  font-style: normal;
  color: rgb(114, 117, 106);
}

.steps h3 {
  margin: 25px 0px 12px;
}

.steps p {
  margin: 0px;
}

.closing {
  background: rgb(32, 34, 30);
  color: var(--paper);
  padding: 95px 0px;
  overflow: hidden;
}

.closing .wrap {
  position: relative;
}

.closing .eyebrow {
  color: rgb(188, 191, 179);
}

.closing h2 {
  font-size: clamp(40px, 5.8vw, 78px);
  line-height: 1.08;
  position: relative;
  z-index: 1;
}

.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 2000;
  padding: 15px;
  background: var(--ink);
  color: white;
}

.skip:focus {
  top: 10px;
}

@media (max-width: 1150px) {
  .header {
    padding: 0px 32px;
    gap: 22px;
  }

  .header nav {
    gap: 20px;
  }

  .wrap {
    width: calc(100% - 64px);
  }

  .hero-art {
    margin-left: -20px;
  }
}

@media (max-width: 800px) {
  .header {
    height: auto;
    min-height: 90px;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 20px;
  }

  .header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .brand {
    font-size: 21px;
  }

  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 25px;
  }

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

  .steps {
    gap: 25px;
  }

  .steps h3 {
    font-size: 18px;
  }

  .closing h2 {
    max-width: 550px;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .header {
    padding: 18px 20px;
  }

  .brand {
    font-size: 20px;
    gap: 5px;
  }

  .brand svg {
    width: 30px;
  }

  .header nav {
    font-size: 12px;
  }

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

  .section-heading {
    display: block;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  h2 {
    font-size: 35px;
    letter-spacing: -1.5px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .service-card > svg {
    margin-top: 18px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 40px;
  }

  .steps h3 {
    font-size: 22px;
    margin-top: 18px;
  }

  .closing {
    padding: 65px 0px;
  }

  .closing h2 {
    font-size: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, ::before, ::after {
    transition: none !important;
  }
}

.service-card {
  cursor: default;
  transition: none;
}

.service-card p, .hero-description, .closing h2 {
  margin-bottom: 0px;
}

@media (max-width: 480px) {
  .header {
    flex-wrap: nowrap;
    gap: 20px;
  }
}

.intro {
  grid-template-columns: minmax(0px, 0.95fr) minmax(0px, 1.05fr);
  padding-top: 72px;
  padding-bottom: 72px;
  align-items: start;
}

.intro .eyebrow {
  margin-bottom: 22px;
}

.intro-copy {
  max-width: none;
  padding-top: 38px;
}

.intro-copy > p:last-child {
  margin-bottom: 0px;
}

@media (max-width: 800px) {
  .intro {
    grid-template-columns: 1fr;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .intro-copy {
    padding-top: 0px;
    max-width: 620px;
  }
}

@media (max-width: 600px) {
  .intro {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

.hero, .intro {
  max-width: 1440px;
  width: calc(100% - 64px);
}

.intro h2 {
  font-size: clamp(35px, 3px + 3.7vw, 53px);
}

.intro {
  gap: 48px;
}

@media (max-width: 800px) {
  .hero, .intro {
    width: calc(100% - 48px);
  }
}

@media (max-width: 480px) {
  .hero, .intro {
    width: calc(100% - 32px);
  }

  .intro h2 {
    font-size: 38px;
  }
}

.hero {
  grid-template-columns: minmax(0px, 1.15fr) minmax(0px, 0.85fr);
  min-height: 0px;
  gap: 36px;
  padding-top: 38px;
  padding-bottom: 38px;
}

.hero-copy {
  position: static;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(40px, 4.7vw, 66px);
  letter-spacing: -2.4px;
  margin-bottom: 22px;
}

.hero-description {
  font-size: 18px;
  line-height: 1.65;
  max-width: 530px;
  margin: 0px;
}

.hero-art {
  width: 100%;
  max-width: 465px;
  justify-self: center;
  margin: 0px;
}

.eyebrow, .mono {
  font-size: 12px;
  letter-spacing: 0.65px;
  line-height: 1.6;
}

.service-card {
  display: grid;
  grid-template-rows: auto 58px 2.5em auto;
  align-content: start;
  gap: 16px;
  min-height: 0px;
  padding: 24px 28px 28px;
}

.service-card .card-top {
  min-height: 20px;
}

.service-card > svg {
  width: 50px;
  height: 50px;
  margin: 4px 0px;
}

.service-card h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.55px;
  margin: 0px;
  align-self: start;
}

.service-card p {
  font-size: 16px;
  line-height: 1.65;
  max-width: none;
  margin: 0px;
}

.intro-copy > p:not(.lead), .steps p {
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .service-card {
    padding: 22px 20px 24px;
    grid-template-rows: auto 58px 3.75em auto;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 15px;
  }
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0px, 1.3fr) minmax(0px, 0.7fr);
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(33px, 4.8vw, 40px);
    letter-spacing: -1.4px;
  }

  .hero-description {
    font-size: 17px;
  }

  .service-card h3 {
    font-size: 21px;
  }
}

@media (max-width: 600px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(32px, 8.5vw, 45px);
  }

  .hero-description {
    max-width: 470px;
    font-size: 17px;
  }

  .hero-art {
    max-width: 265px;
  }
}

@media (max-width: 480px) {
  .eyebrow, .mono {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .service-card {
    padding: 24px;
    grid-template-rows: auto 58px auto auto;
    gap: 14px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .service-card p {
    font-size: 16px;
  }
}

@media (min-width: 601px) {
  .hero-art {
    transform: translateX(-20px);
  }
}

.hero.wrap, .intro.wrap {
  max-width: 1320px;
  width: calc(100% - 112px);
}

.hero-copy {
  padding-left: 0px;
  transform: none;
  left: auto;
}

@media (max-width: 1150px) {
  .hero.wrap, .intro.wrap {
    width: calc(100% - 64px);
  }
}

@media (max-width: 480px) {
  .hero.wrap, .intro.wrap {
    width: calc(100% - 40px);
  }
}

.hero h1 {
  line-height: 1.16;
}

@media (min-width: 601px) {
  .hero-copy {
    position: relative;
    top: -12px;
  }
}

.section-divider {
  height: 0px;
  margin: 0px;
  border-right: 0px;
  border-bottom: 0px;
  border-left: 0px;
  border-image: none;
  border-top: 1px solid var(--line);
}

.company-band {
  background: rgb(250, 249, 246);
}

#expertise {
  background: rgb(255, 255, 255);
}

body.home-page > .header {
  background: rgb(255, 255, 255);
  box-shadow: rgb(255, 255, 255) 0px 0px 0px 100vmax;
  clip-path: inset(0px -100vmax);
}

.hero-band {
  background: rgb(255, 255, 255);
}

body.home-page {
  --paper: #faf9f6;
  --line: #e8e7e3;
}

.closing {
  padding-bottom: 28px;
}

.closing-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid rgb(69, 72, 63);
  color: rgb(200, 203, 194);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .closing-footer {
    flex-direction: column;
    gap: 10px;
    margin-top: 48px;
  }
}

.contact-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(30, 33, 28);
  padding: 14px 24px;
  font-size: 14px;
  line-height: 1.3;
  background: rgb(30, 33, 28);
  color: rgb(255, 255, 255);
  white-space: nowrap;
}

.contact-entry:hover {
  background: rgb(66, 70, 61);
}

.contact-entry-light {
  background: rgb(250, 249, 246);
  color: rgb(30, 33, 28);
  border-color: rgb(250, 249, 246);
  margin-top: 34px;
}

.contact-entry-light:hover {
  background: rgb(229, 230, 222);
}

@media (max-width: 480px) {
  .contact-entry {
    padding: 12px 17px;
    font-size: 12px;
  }
}

.intro-overlap-scene {
  position: relative;
  isolation: isolate;
}

.intro-overlap-stage {
  position: sticky;
  top: var(--overlap-top,0px);
  z-index: 0;
  background: rgb(255, 255, 255);
  display: flow-root;
}

.intro-overlap-scene > #expertise {
  position: relative;
  z-index: 1;
  box-shadow: rgba(20, 24, 18, 0.22) 0px -18px 40px -32px;
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlap-stage {
    position: relative;
    top: auto;
  }

  .intro-overlap-scene > #expertise {
    box-shadow: none;
  }
}

.intro-overlap-scene > #expertise {
  background: rgb(255, 255, 255);
}

#expertise .service-grid {
  border: 0px;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  align-items: stretch;
}

#expertise .service-card {
  position: relative;
  aspect-ratio: auto;
  min-height: 0px;
  padding: 24px;
  border: 1px solid rgb(232, 231, 227);
  border-radius: 22px;
  background: rgb(255, 255, 255);
  display: grid;
  grid-template-rows: 56px minmax(53px, auto) auto;
  gap: 16px;
  align-content: start;
  box-shadow: none;
}

#expertise .service-card .card-top {
  position: absolute;
  top: 26px;
  right: 24px;
  min-height: 0px;
  color: rgb(139, 142, 135);
}

#expertise .service-card > svg {
  grid-row: 1;
  width: 56px;
  height: 56px;
  padding: 11px;
  margin: 0px;
  background: rgb(239, 239, 237);
  border-radius: 13px;
}

#expertise .service-card h3 {
  grid-row: 2;
  font-size: 21px;
  line-height: 1.25;
  margin: 0px;
  letter-spacing: -0.55px;
}

#expertise .service-card p {
  grid-row: 3;
  font-size: 15px;
  line-height: 1.65;
  margin: 0px;
  color: rgb(107, 112, 105);
}

@media (max-width: 1100px) {
  #expertise .service-grid {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
}

@media (max-width: 600px) {
  #expertise .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #expertise .service-card {
    padding: 22px;
    border-radius: 20px;
    grid-template-rows: 56px auto auto;
    gap: 14px;
  }

  #expertise .service-card .card-top {
    top: 24px;
    right: 22px;
  }
}

#expertise .service-card {
  width: calc(100% + 4px);
  justify-self: center;
}

#expertise .service-card {
  padding-bottom: 32px;
}

@media (max-width: 600px) {
  #expertise .service-card {
    padding-bottom: 30px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-band .hero-art > img {
    animation: 7s ease-in-out 0s infinite normal none running hero-wireframe-float;
  }

  @keyframes hero-wireframe-float { 
  0%, 50%, 100% { translate: 0px; }
  25% { translate: 0px -5px; }
  75% { translate: 0px 5px; }
}
}

.hero-band .hero-entry-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.hero-band .hero-entry-line {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-band .hero-entry-line {
    animation: 850ms cubic-bezier(0.22, 0.68, 0.2, 1) 140ms 1 normal backwards running hero-line-first-entry;
  }

  .hero-band .hero-entry-mask:nth-child(2) .hero-entry-line {
    animation-delay: 290ms;
  }

  .hero-band .hero-entry-mask:nth-child(3) .hero-entry-line {
    animation-delay: 440ms;
  }

  .hero-band .hero-description {
    animation: 900ms ease-out 340ms 1 normal both running hero-text-first-entry;
  }

  @keyframes hero-line-first-entry { 
  0% { transform: translateY(112%); }
  100% { transform: translateY(0px); }
}

  @keyframes hero-text-first-entry { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}
}

#main:focus {
  outline: none;
}

.hero-art img {
  aspect-ratio: 620 / 580;
}
