:root {
  --bg: #f2f0ea;
  --ink: #111111;
  --muted: #6c675e;
  --surface: #dddad2;
  --surface-2: #e8e4dc;
  --line: rgba(17, 17, 17, 0.18);
  --red: #f04424;
  --red-dark: #bb2a16;
  --night: #141312;
  --white: #fffdfa;
  --max: 1180px;
  --pad: clamp(1rem, 3vw, 2.5rem);
  --radius: 8px;
  --shadow: 0 22px 60px rgba(17, 17, 17, 0.1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("../images/grain.svg");
  background-size: 180px 180px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

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

a:not(.btn):not(.brand):not(.nav-link):not(.legal-link) {
  background-image: linear-gradient(var(--red), var(--red));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: background-size 220ms ease, color 220ms ease;
}

a:not(.btn):not(.brand):not(.nav-link):not(.legal-link):hover {
  color: var(--red-dark);
  background-size: 0 1px;
  background-position: 100% 100%;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 240, 234, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: padding 200ms ease, border-color 200ms ease, background 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(242, 240, 234, 0.94);
}

.header-inner {
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-grid;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.brand span:first-child {
  font-size: 1.28rem;
}

.brand span:last-child {
  justify-self: end;
  margin-top: 0.08rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}

.nav {
  justify-self: end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 760;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.55rem;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.btn {
  --btn-bg: var(--ink);
  --btn-color: var(--white);
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--red);
  border-color: var(--red);
}

.btn-secondary {
  --btn-bg: transparent;
  --btn-color: var(--ink);
  background: transparent;
}

.btn-secondary:hover {
  color: var(--white);
}

.btn-red {
  --btn-bg: var(--red);
  --btn-color: var(--white);
  border-color: var(--red);
}

.page-main {
  min-height: 60vh;
}

.section {
  padding: clamp(4rem, 9vw, 8rem) var(--pad);
}

.section-tight {
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
}

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(2rem, 5vw, 4rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.hero-title,
.page-title,
.statement {
  margin: 0;
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(4rem, 9vw, 9rem);
}

.page-title {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 8rem);
}

.hero-copy {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  color: #35312c;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 390px;
  border-left: 1px solid var(--line);
  padding-left: clamp(1rem, 2vw, 1.8rem);
}

.kinetic-mark {
  position: relative;
  min-height: 220px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.kinetic-mark::before {
  content: "MOTIVE";
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.24);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 950;
  transform: rotate(-90deg) scaleX(1.2);
}

.kinetic-dot {
  width: clamp(5rem, 11vw, 8rem);
  aspect-ratio: 1;
  background: var(--red);
  clip-path: polygon(0 0, 100% 18%, 72% 100%, 12% 82%);
  animation: motive-pulse 8s ease-in-out infinite;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding-top: 1rem;
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

.ghost-word {
  position: absolute;
  right: -0.12em;
  bottom: -0.2em;
  z-index: 0;
  color: rgba(17, 17, 17, 0.045);
  font-size: clamp(7rem, 22vw, 22rem);
  font-weight: 950;
  line-height: 0.8;
  pointer-events: none;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.statement {
  font-size: clamp(2.7rem, 6vw, 6.5rem);
}

.lead {
  margin: 0;
  color: #34302c;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.body-copy {
  max-width: 42rem;
  color: #38342f;
  font-size: 1.02rem;
}

.services-list {
  border-top: 1px solid var(--ink);
}

.service-row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(12rem, 0.42fr);
  gap: 1rem;
  align-items: center;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 220ms ease, color 220ms ease, padding 220ms ease;
}

.service-row:hover {
  padding-left: 0.8rem;
  background: var(--red);
  color: var(--white);
}

.service-num {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
  transition: color 220ms ease, transform 220ms ease;
}

.service-row:hover .service-num {
  color: var(--white);
  transform: translateX(0.35rem);
}

.service-name {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 3.8rem);
  line-height: 1;
}

.service-desc {
  margin: 0;
  color: currentColor;
  font-size: 0.98rem;
}

.method {
  background: var(--night);
  color: var(--white);
}

.method .eyebrow {
  color: #ff795f;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.method-card {
  min-height: 300px;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  align-content: space-between;
  gap: 2rem;
}

.method-card strong {
  color: #ff795f;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.85;
}

.method-card h3,
.bento-card h3,
.problem-card h3,
.value-row h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1;
}

.method-card p,
.bento-card p,
.problem-card p,
.value-row p {
  margin: 0;
  color: inherit;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.bento-card {
  min-height: 210px;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  align-content: space-between;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.bento-card.large {
  grid-column: span 3;
  min-height: 310px;
}

.bento-card.medium {
  grid-column: span 2;
}

.bento-card.red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.bento-mark {
  width: 3rem;
  height: 3rem;
  border: 2px solid currentColor;
  transform: rotate(-8deg);
}

.big-band {
  background: var(--red);
  color: var(--white);
}

.big-band .statement {
  max-width: 13ch;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.problem-card {
  min-height: 240px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--bg);
}

.problem-card span,
.value-row span {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 900;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: var(--surface);
}

.marquee-track {
  width: max-content;
  padding: 0.85rem 0;
  display: flex;
  gap: 1rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 4vw, 2.4rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  animation: marquee 26s linear infinite;
}

.page-hero {
  padding: clamp(4rem, 10vw, 8rem) var(--pad) clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.values-list {
  border-top: 1px solid var(--ink);
}

.value-row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 1.2rem;
  padding: clamp(1.2rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-detail h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
}

.service-detail ul,
.legal-content ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.service-detail li,
.legal-content li {
  margin: 0.42rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(18rem, 0.74fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: start;
}

.contact-card {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--night);
  color: var(--white);
  border-radius: var(--radius);
}

.contact-card address {
  font-style: normal;
}

.form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

label {
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.check {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.7rem;
  align-items: start;
}

.check input {
  width: 1.15rem;
  min-height: 1.15rem;
  margin-top: 0.16rem;
}

.form-note {
  margin: 0;
  padding: 1rem;
  background: var(--surface-2);
  border-left: 4px solid var(--red);
}

.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.site-footer {
  background: var(--night);
  color: var(--white);
  padding: clamp(3rem, 8vw, 6rem) var(--pad) 1.4rem;
}

.footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-cta h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 7rem);
  line-height: 0.9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.footer-grid address {
  font-style: normal;
}

.footer-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  right: var(--pad);
  bottom: var(--pad);
  z-index: 200;
  width: min(430px, calc(100vw - var(--pad) * 2));
  padding: 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes motive-pulse {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(7deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 0 0.4rem;
  }

  .nav-link,
  .nav .btn {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .contact-layout,
  .footer-cta,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 260px;
    border-left: 0;
    padding-left: 0;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-card {
    min-height: 220px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-card.large,
  .bento-card.medium {
    grid-column: auto;
  }

  .problems-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 3rem 1fr;
    align-items: start;
    padding: 1.2rem 0;
  }

  .service-desc {
    grid-column: 2;
  }

  .value-row {
    grid-template-columns: 4rem 1fr;
  }

  .value-row p {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: clamp(3.2rem, 18vw, 4.7rem);
  }

  .page-title {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .statement {
    font-size: clamp(2.2rem, 12vw, 3.6rem);
  }

  .hero-actions,
  .cookie-actions,
  .footer-bottom {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-desc {
    grid-column: auto;
  }

  .value-row {
    grid-template-columns: 1fr;
  }

  .value-row p {
    grid-column: auto;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
