:root {
  --color-bg: #f7f5ef;
  --color-bg-soft: #fbfaf6;
  --color-ink: #171713;
  --color-text: #292823;
  --color-muted: #6f6a61;
  --color-line: #cfc9be;
  --color-line-soft: #e7e1d7;
  --color-orange: #e4572b;
  --color-orange-hover: #c9451f;
  --color-peach: #ffb6a3;
  --color-dark: #151511;
  --color-dark-text: #f5f1e8;
  --container: 1224px;
  --page-pad-desktop: 40px;
  --page-pad-mobile: 20px;
  --section-y: 104px;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-zen: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-display: "DSEG7 Classic", "DS-Digital", "Share Tech Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(rgba(23, 23, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.section-grid,
.section-inner {
  width: min(var(--container), calc(100% - var(--page-pad-desktop) * 2));
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sprite {
  display: inline-block;
  flex: 0 0 auto;
  background-image: url("assets/catandcompany-sprite.png");
  background-repeat: no-repeat;
  background-size: 400% 300%;
}

.sprite--logo-cat-mark { background-position: 0% 0%; }
.sprite--hero-stretch-cat { background-position: 33.333% 0%; }
.sprite--paw-trail { background-position: 66.667% 0%; }
.sprite--icon-paw-outline { background-position: 100% 0%; }
.sprite--icon-chart { background-position: 0% 50%; }
.sprite--icon-cat-face { background-position: 33.333% 50%; }
.sprite--icon-crown { background-position: 66.667% 50%; }
.sprite--icon-calendar { background-position: 100% 50%; }
.sprite--icon-arrow-right { background-position: 0% 100%; }
.sprite--icon-briefcase { background-position: 33.333% 100%; }
.sprite--icon-crosshair { background-position: 66.667% 100%; }
.sprite--paw-single { background-position: 100% 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
  padding-inline: 28px;
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(207, 201, 190, 0.45);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 218px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.brand__sub {
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex: 1;
}

.site-nav a,
.mobile-menu a {
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  min-width: 118px;
  padding-inline: 16px;
  color: var(--color-orange);
  border: 1px solid var(--color-orange);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.header-contact:hover {
  color: #fff;
  background: var(--color-orange);
}

.header-contact__icon {
  position: relative;
  width: 14px;
  height: 10px;
  background:
    linear-gradient(34deg, transparent calc(50% - 0.75px), currentColor 50%, transparent calc(50% + 0.75px)) left top / 50% 100% no-repeat,
    linear-gradient(-34deg, transparent calc(50% - 0.75px), currentColor 50%, transparent calc(50% + 0.75px)) right top / 50% 100% no-repeat;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 6px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--color-ink);
}

.mobile-menu {
  position: fixed;
  inset: 72px 0 auto 0;
  z-index: 19;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 10px 20px 20px;
  background: rgba(247, 245, 239, 0.97);
  border-bottom: 1px solid var(--color-line-soft);
  backdrop-filter: blur(8px);
}

.mobile-menu a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--color-line-soft);
}

.mobile-menu.is-open {
  display: grid;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(540px, 1fr) minmax(430px, 520px);
  align-items: center;
  gap: 56px;
  min-height: 690px;
  padding-block: 58px 76px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin: 0 0 30px;
  padding-inline: 18px;
  color: #fff;
  background: var(--color-orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  display: flex;
  align-items: baseline;
  margin-bottom: 28px;
  color: var(--color-ink);
  font-family: var(--font-zen);
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  font-feature-settings: "palt";
  font-kerning: normal;
  white-space: nowrap;
}

.hero-title__lead,
.hero-title__main,
.hero-title__punctuation {
  display: inline-block;
}

.hero-title__main {
  margin-left: -0.08em;
}

.hero-title__punctuation {
  margin-left: -0.18em;
}

.hero__lead {
  margin-bottom: 28px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 56px;
  padding-inline: 28px;
  border-radius: 6px;
  border: 1px solid var(--color-orange);
  font-size: 15px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(228, 87, 43, 0.16);
}

.button--primary {
  color: #fff;
  background: var(--color-orange);
}

.button--primary:hover {
  background: var(--color-orange-hover);
}

.button--secondary {
  color: var(--color-orange);
  background: transparent;
}

.button--secondary:hover {
  color: #fff;
  background: var(--color-orange);
}

.button--wide {
  width: 360px;
}

.button__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.button--primary .button__icon {
  filter: brightness(0) invert(1);
}

.observation-card {
  position: relative;
  width: min(560px, 100%);
  min-height: 548px;
  padding: 18px 24px 20px;
  background: var(--color-bg-soft);
  border: 2px solid #2a2924;
  border-radius: 4px;
  box-shadow: 0 22px 50px rgba(23, 23, 19, 0.08);
}

.panel-corner {
  position: absolute;
  color: #2a2924;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.panel-corner--tl { top: 8px; left: 8px; }
.panel-corner--tr { top: 8px; right: 8px; }
.panel-corner--bl { bottom: 8px; left: 8px; }
.panel-corner--br { bottom: 8px; right: 8px; }

.observation-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 10px;
  border-bottom: 2px solid #2a2924;
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 900;
}

.observation-card__cross {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.observation-card__body {
  position: relative;
  min-height: 360px;
  padding-top: 12px;
}

.cat-stage {
  position: relative;
  min-height: 346px;
  background: var(--color-bg-soft);
  overflow: visible;
}

.hero-cat {
  position: absolute;
  right: 3%;
  bottom: 8px;
  z-index: 1;
  width: 80%;
  mix-blend-mode: normal;
}

.obs-annotation {
  position: absolute;
  z-index: 4;
  color: var(--color-orange);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
}

.obs-annotation--ear {
  top: 22px;
  left: 37%;
}

.obs-annotation--paw {
  top: 142px;
  left: 7%;
}

.obs-annotation--tail {
  top: 124px;
  right: -2px;
}

.obs-annotation--length {
  left: 53%;
  bottom: 10px;
  transform: translateX(-50%);
}

.obs-line,
.obs-measure-line,
.obs-measure-tick {
  position: absolute;
  z-index: 3;
  border-color: var(--color-orange);
  opacity: 0;
}

.obs-line--ear {
  top: 48px;
  left: 53%;
  height: 122px;
  border-left: 1px dashed var(--color-orange);
}

.obs-line--ear::after,
.obs-line--paw-diagonal::after,
.obs-measure-line--main::before,
.obs-measure-line--main::after {
  position: absolute;
  width: 0;
  height: 0;
  content: "";
}

.obs-line--ear::after {
  left: -3px;
  bottom: -1px;
  border-top: 6px solid var(--color-orange);
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
}

.obs-line--paw-vertical {
  top: 164px;
  left: 14%;
  height: 120px;
  border-left: 1px dashed var(--color-orange);
}

.obs-line--paw-diagonal {
  top: 194px;
  left: 20%;
  width: 72px;
  transform: rotate(43deg);
  transform-origin: left center;
  border-top: 1px dashed var(--color-orange);
}

.obs-line--paw-diagonal::after {
  right: -1px;
  top: -3px;
  border-left: 6px solid var(--color-orange);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.obs-paw-badge {
  position: absolute;
  top: 176px;
  left: 8.5%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 9px;
  background: #fff;
  border: 1.5px solid var(--color-orange);
  border-radius: 50%;
  opacity: 0;
}

.obs-paw-badge img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.obs-tail-arrow {
  position: absolute;
  top: 60px;
  right: 10%;
  z-index: 3;
  width: 116px;
  height: 124px;
  overflow: visible;
  opacity: 0;
}

.obs-tail-arrow path {
  fill: none;
  stroke: var(--color-orange);
  stroke-width: 1.25;
  stroke-dasharray: 6 4;
  stroke-linecap: round;
}

.obs-tail-arrow marker path {
  fill: var(--color-orange);
  stroke: none;
}

.obs-measure-line--main {
  left: 18%;
  right: 12%;
  bottom: 27px;
  border-top: 1px solid var(--color-orange);
}

.obs-measure-line--main::before {
  left: -1px;
  top: -3px;
  border-right: 7px solid var(--color-orange);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.obs-measure-line--main::after {
  right: -1px;
  top: -3px;
  border-left: 7px solid var(--color-orange);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.obs-measure-tick {
  bottom: 10px;
  height: 44px;
  border-left: 1px dashed var(--color-orange);
}

.obs-measure-tick--left {
  left: 18%;
}

.obs-measure-tick--right {
  right: 12%;
}

.hero.is-visible .obs-annotation,
.hero.is-visible .obs-paw-badge,
.hero.is-visible .obs-tail-arrow {
  animation: obs-pop 360ms ease-out forwards;
  animation-delay: calc(940ms + var(--obs-index) * 150ms);
}

.hero.is-visible .obs-line,
.hero.is-visible .obs-measure-line,
.hero.is-visible .obs-measure-tick {
  animation: obs-fade 360ms ease-out forwards;
  animation-delay: calc(940ms + var(--obs-index) * 150ms);
}

.obs-annotation--ear,
.obs-line--ear { --obs-index: 0; }
.obs-annotation--paw,
.obs-line--paw-vertical { --obs-index: 1; }
.obs-paw-badge,
.obs-line--paw-diagonal { --obs-index: 2; }
.obs-annotation--tail,
.obs-tail-arrow { --obs-index: 3; }
.obs-measure-line,
.obs-measure-tick,
.obs-annotation--length { --obs-index: 4; }

.observation-card__timer {
  margin: 0 16px;
  padding-top: 16px;
  border-top: 2px solid #2a2924;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.05em;
}

.observation-card__note {
  margin: 6px 0 0;
  color: var(--color-ink);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.hero__paw-trail {
  position: absolute;
  left: -100px;
  right: -80px;
  bottom: -18px;
  z-index: 0;
  height: 230px;
  pointer-events: none;
}

.hero__paw-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero__paw-line-dots {
  fill: none;
  stroke: var(--color-peach);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.001 0.011;
  opacity: 0.75;
}

.hero__paw-line-mask {
  fill: none;
  stroke: #fff;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.hero-paw {
  position: absolute;
  width: 42px;
  height: 40px;
  object-fit: contain;
  opacity: 0;
  filter: saturate(0.96);
  transform: translate(-50%, -50%) scale(0.66) rotate(var(--paw-rotate));
}

.hero-paw--1 {
  left: 0.34%;
  top: 86.09%;
  --paw-rotate: 52deg;
}

.hero-paw--2 {
  left: 12.62%;
  top: 59.78%;
  --paw-rotate: 62deg;
}

.hero-paw--3 {
  left: 24.55%;
  top: 46.04%;
  --paw-rotate: 78deg;
}

.hero-paw--4 {
  left: 37.88%;
  top: 27.14%;
  --paw-rotate: 102deg;
}

.hero-paw--5 {
  left: 49.94%;
  top: 34.9%;
  --paw-rotate: 112deg;
}

.hero-paw--6 {
  left: 62.89%;
  top: 63.54%;
  --paw-rotate: 130deg;
}

.hero-paw--7 {
  left: 73.93%;
  top: 68.76%;
  --paw-rotate: 96deg;
}

.hero-paw--8 {
  left: 83.9%;
  top: 62.7%;
  --paw-rotate: 78deg;
}

.hero-paw--9 {
  left: 94.19%;
  top: 62.6%;
  --paw-rotate: 104deg;
}

.hero-paw--10 {
  left: 101.77%;
  top: 66.96%;
  --paw-rotate: 82deg;
}

.hero.is-visible .hero__paw-line-mask {
  animation: paw-line-draw 1.35s ease-out 680ms forwards;
}

.hero.is-visible .hero-paw {
  animation: paw-pop 420ms cubic-bezier(0.2, 0.9, 0.2, 1.25) forwards;
  animation-delay: calc(1.95s + var(--paw-index) * 115ms);
}

.hero-paw--1 { --paw-index: 0; }
.hero-paw--2 { --paw-index: 1; }
.hero-paw--3 { --paw-index: 2; }
.hero-paw--4 { --paw-index: 3; }
.hero-paw--5 { --paw-index: 4; }
.hero-paw--6 { --paw-index: 5; }
.hero-paw--7 { --paw-index: 6; }
.hero-paw--8 { --paw-index: 7; }
.hero-paw--9 { --paw-index: 8; }
.hero-paw--10 { --paw-index: 9; }

.hero__caption {
  position: absolute;
  bottom: 22px;
  left: 155px;
  z-index: 2;
  color: var(--color-ink);
  font-size: 10px;
  font-weight: 800;
}

.dark-section {
  width: 100%;
  color: var(--color-dark-text);
  background-color: var(--color-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
}

.philosophy {
  padding-block: 112px;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 96px;
  align-items: center;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  color: var(--color-orange);
  font-size: 14px;
  font-weight: 900;
}

.section-kicker span {
  font-family: var(--font-display);
  font-size: 14px;
}

.section-kicker--light {
  margin-bottom: 22px;
}

.philosophy h2,
.section-head h2,
.company h2,
.recruit h2 {
  margin-bottom: 0;
  color: inherit;
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 950;
  line-height: 1.25;
}

#about-title {
  max-width: none;
  font-size: clamp(34px, 3.15vw, 48px);
  white-space: nowrap;
}

.title-rule {
  width: 72px;
  height: 2px;
  margin: 30px 0 44px;
  background: var(--color-orange);
}

.philosophy__body {
  display: grid;
  gap: 28px;
  max-width: 620px;
}

.philosophy__body p {
  margin: 0;
  color: rgba(245, 241, 232, 0.86);
  font-size: 16px;
  font-weight: 600;
  line-height: 2.05;
}

.quote-box {
  position: relative;
  margin: 0;
  padding: 54px 58px;
}

.quote-box::before,
.quote-box::after {
  position: absolute;
  width: 44px;
  height: 44px;
  content: "";
}

.quote-box::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--color-orange);
  border-left: 2px solid var(--color-orange);
}

.quote-box::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
}

.quote-box p {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.58;
  letter-spacing: 0;
  font-feature-settings: "palt";
  font-kerning: normal;
}

.quote-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.36em);
  filter: blur(3px);
}

.philosophy.is-visible .quote-char {
  animation: quote-char-in 640ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(360ms + var(--quote-index) * 54ms);
}

.business,
.lab,
.company,
.recruit {
  padding-block: var(--section-y);
  border-bottom: 1px solid rgba(231, 225, 215, 0.95);
}

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  color: var(--color-ink);
}

.section-head p:last-child {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.business-card {
  position: relative;
  display: grid;
  grid-template-rows: 70px 112px auto 1fr;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  background: rgba(251, 250, 246, 0.75);
  border: 1px solid #bdb7ac;
  border-radius: 8px;
}

.business-card::after {
  position: absolute;
  bottom: 0;
  left: 18%;
  width: 64%;
  height: 3px;
  background: var(--color-orange);
  content: "";
}

.business-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 0;
}

.business-card__icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter:
    saturate(1.18)
    drop-shadow(0 0 0.45px var(--color-orange))
    drop-shadow(0 0 0.45px var(--color-orange));
}

.business-card h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.55;
}

.business-card small {
  font-size: 13px;
  font-weight: 800;
}

.business-card p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.9;
}

.card-dash {
  margin: 0 0 20px;
  border-top: 1px dashed #d8d2c7;
}

.business-card__label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 900;
}

.business-card__metric {
  margin: 0;
  color: var(--color-ink);
  font-size: 52px;
}

.business-card__statement {
  margin: 0;
  color: var(--color-ink) !important;
  font-size: 23px !important;
  font-weight: 950 !important;
  line-height: 1.7 !important;
}

.digital {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.metrics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
}

.chart-card,
.metric-card {
  background: rgba(251, 250, 246, 0.74);
  border: 1px solid #bdb7ac;
  border-radius: 12px;
}

.chart-card {
  min-height: 500px;
  padding: 32px;
}

.chart-card__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.chart-card h3,
.metric-card h3,
.history h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 900;
}

.chart-card__head span {
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 900;
}

.bar-chart {
  position: relative;
  display: grid;
  gap: 12px;
  padding-right: 16px;
}

.bar-chart__grid {
  position: absolute;
  inset: 0 22px 0 82px;
  z-index: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(20% - 1px),
    #ddd6cb calc(20% - 1px),
    #ddd6cb 20%
  );
  opacity: 0.8;
}

.bar-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 18px;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 900;
}

.bar-row b {
  display: block;
  width: calc(var(--value) * 1%);
  height: 16px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left center;
}

.bar-row:nth-child(2) { --bar-index: 0; }
.bar-row:nth-child(3) { --bar-index: 1; }
.bar-row:nth-child(4) { --bar-index: 2; }
.bar-row:nth-child(5) { --bar-index: 3; }
.bar-row:nth-child(6) { --bar-index: 4; }
.bar-row:nth-child(7) { --bar-index: 5; }
.bar-row:nth-child(8) { --bar-index: 6; }
.bar-row:nth-child(9) { --bar-index: 7; }
.bar-row:nth-child(10) { --bar-index: 8; }
.bar-row:nth-child(11) { --bar-index: 9; }

.lab.is-visible .bar-row b {
  animation: grow-bar 680ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(360ms + var(--bar-index) * 90ms);
}

.bar-row em {
  min-width: 74px;
  font-style: normal;
  white-space: nowrap;
}

.chart-axis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 24px 30px 0 82px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 800;
}

.chart-note {
  margin: 28px 0 0;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.metric-stack {
  display: grid;
  gap: 18px;
}

.metric-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  min-height: 150px;
  padding: 26px 30px;
}

.metric-card__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.metric-card p {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  margin: 8px 0 0;
  color: var(--color-ink);
}

.metric-card .digital {
  font-size: 62px;
  line-height: 1;
}

.metric-card small {
  font-size: 16px;
  font-weight: 900;
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 60px;
}

.company h2 {
  color: var(--color-ink);
  margin-bottom: 34px;
}

.company-table {
  margin: 0;
  border-top: 1px solid #bbb5aa;
}

.company-table div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid #bbb5aa;
}

.company-table dt,
.company-table dd {
  margin: 0;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 900;
}

.history {
  padding-top: 42px;
}

.history h3 {
  margin-bottom: 34px;
  font-size: 17px;
}

.history ol {
  position: relative;
  display: grid;
  gap: 34px;
  margin: 0;
  padding: 0 0 0 38px;
  list-style: none;
}

.history ol::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 1px;
  background: #bdb7ac;
  content: "";
}

.history li {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--color-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(16px);
}

.history li::before {
  position: absolute;
  top: 8px;
  left: -38px;
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
  content: "";
}

.history time {
  font-family: var(--font-display);
}

.history li:nth-child(1) { --history-index: 0; }
.history li:nth-child(2) { --history-index: 1; }
.history li:nth-child(3) { --history-index: 2; }
.history li:nth-child(4) { --history-index: 3; }
.history li:nth-child(5) { --history-index: 4; }

.company.is-visible .history li {
  animation: timeline-item-in 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(360ms + var(--history-index) * 130ms);
}

.recruit {
  padding-block: 96px 104px;
}

.recruit h2 {
  color: var(--color-ink);
}

.recruit__lead {
  margin: 26px 0 34px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.benefits {
  display: grid;
  gap: 10px;
  width: min(920px, 100%);
  margin-bottom: 48px;
}

.benefits article {
  display: grid;
  grid-template-columns: 32px 250px minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  padding: 10px 22px;
  background: rgba(251, 250, 246, 0.78);
  border: 1px solid #d8d2c7;
  border-radius: 6px;
}

.benefit__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.benefits h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 900;
}

.benefits p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 56px;
}

.site-footer {
  color: var(--color-dark-text);
  background-color: var(--color-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 42px 0 32px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - var(--page-pad-desktop) * 2));
  margin: 0 auto 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer__brand {
  font-size: 18px;
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  gap: 48px;
}

.site-footer nav a {
  color: rgba(245, 241, 232, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.copyright {
  margin: 0;
  color: rgba(245, 241, 232, 0.55);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1080px) {
  .site-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero,
  .philosophy__grid,
  .metrics-layout,
  .company {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .observation-card {
    margin-inline: auto;
  }

  .hero__paw-trail {
    left: -70px;
    right: -50px;
    bottom: -12px;
    height: 200px;
  }

  .philosophy__grid {
    gap: 56px;
  }

  .business-cards {
    grid-template-columns: 1fr;
  }

  .metric-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metric-card .digital {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  :root {
    --page-pad-desktop: var(--page-pad-mobile);
    --section-y: 80px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .brand__name {
    font-size: 14px;
  }

  .hero {
    padding-block: 44px 64px;
  }

  .pill {
    max-width: 100%;
    height: auto;
    min-height: 32px;
    padding-inline: 12px;
    font-size: 9px;
    white-space: nowrap;
  }

  .hero__lead {
    font-size: 15px;
  }

  h1 {
    flex-wrap: wrap;
    white-space: normal;
  }

  .observation-card {
    min-height: 0;
    padding: 14px;
  }

  .observation-card__body {
    min-height: 242px;
  }

  .cat-stage {
    min-height: 230px;
  }

  .hero-cat {
    right: 3%;
    bottom: 16px;
    width: 82%;
  }

  .obs-annotation {
    font-size: 9px;
  }

  .obs-annotation--paw,
  .obs-line--paw-vertical,
  .obs-line--paw-diagonal,
  .obs-paw-badge {
    display: none;
  }

  .obs-annotation--ear {
    top: 16px;
    left: 26%;
  }

  .obs-line--ear {
    top: 40px;
    left: 46%;
    height: 78px;
  }

  .obs-annotation--tail {
    top: 96px;
    right: -2px;
  }

  .obs-tail-arrow {
    top: 46px;
    right: 8%;
    width: 78px;
    height: 86px;
  }

  .obs-measure-line--main {
    left: 16%;
    right: 10%;
    bottom: 28px;
  }

  .obs-measure-tick--left {
    left: 16%;
  }

  .obs-measure-tick--right {
    right: 10%;
  }

  .observation-card__timer {
    font-size: 42px;
  }

  .hero__paw-trail,
  .hero__caption {
    display: none;
  }

  .philosophy {
    padding-block: 84px;
  }

  .quote-box {
    padding: 38px 34px;
  }

  .quote-box p {
    font-size: 31px;
  }

  .chart-card {
    padding: 22px;
    overflow-x: auto;
  }

  .bar-chart,
  .chart-axis {
    min-width: 560px;
  }

  .metric-stack {
    grid-template-columns: 1fr;
  }

  .company-table div,
  .history li,
  .benefits article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .benefits article {
    padding: 16px 18px;
  }

  .benefit__icon {
    margin-bottom: 2px;
  }

  .cta-row {
    flex-direction: column;
    gap: 16px;
  }

  .button--wide {
    width: 100%;
  }

  .site-footer__inner,
  .site-footer nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@keyframes grow-bar {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes paw-line-draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes paw-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.62) rotate(var(--paw-rotate));
  }

  65% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(1.08) rotate(var(--paw-rotate));
  }

  to {
    opacity: 0.76;
    transform: translate(-50%, -50%) scale(1) rotate(var(--paw-rotate));
  }
}

@keyframes obs-pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.obs-annotation--length {
  transform: translateX(-50%);
}

.hero.is-visible .obs-annotation--length {
  animation-name: obs-pop-length;
}

@keyframes obs-pop-length {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes obs-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes quote-char-in {
  from {
    opacity: 0;
    transform: translateY(0.36em);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes timeline-item-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .history li,
  .quote-char {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .bar-row b {
    transform: scaleX(1);
  }

  .hero__paw-line-mask {
    stroke-dashoffset: 0;
  }

  .hero-paw,
  .obs-annotation,
  .obs-line,
  .obs-paw-badge,
  .obs-tail-arrow,
  .obs-measure-line,
  .obs-measure-tick {
    opacity: 0.76;
    transform: translate(-50%, -50%) scale(1) rotate(var(--paw-rotate));
  }

  .obs-annotation,
  .obs-line,
  .obs-paw-badge,
  .obs-tail-arrow,
  .obs-measure-line,
  .obs-measure-tick {
    opacity: 1;
    transform: none;
  }

  .obs-annotation--length {
    transform: translateX(-50%);
  }
}
