:root {
  --charcoal: #2a2a2a;
  --ink: #111111;
  --bone: #e5e8df;
  --lime: #defb70;
  --muted-dark: #64685f;
  --muted-light: rgba(229, 232, 223, 0.7);
  --line-dark: rgba(42, 42, 42, 0.3);
  --line-light: rgba(229, 232, 223, 0.22);
  --font-body: "neulis-neue", Arial, Helvetica, sans-serif;
  --font-display: "neulis-neue", "Arial Black", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bone);
  background: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--lime);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.brand-logo {
  width: clamp(128px, 15vw, 190px);
  height: auto;
}

.eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-underline-offset: 0.22em;
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  background: var(--ink);
}

.hero-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
  background: var(--ink);
}

.hero-scene-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.88) contrast(1.06);
}

.hero-scene-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.97) 0%, rgba(17, 17, 17, 0.91) 42%, rgba(17, 17, 17, 0.52) 67%, rgba(17, 17, 17, 0.18) 100%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.22) 0%, rgba(17, 17, 17, 0.02) 54%, rgba(17, 17, 17, 0.7) 100%);
}

.hero-capture {
  position: absolute;
  z-index: 2;
  top: 13%;
  right: clamp(34px, 5vw, 88px);
  overflow: hidden;
  width: clamp(220px, 19vw, 320px);
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(222, 251, 112, 0.78);
  background: var(--ink);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
}

.hero-capture::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28%;
  height: 3px;
  background: var(--lime);
  content: "";
}

.hero-capture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: grid;
  min-width: 0;
  min-height: 100svh;
  padding: clamp(24px, 4vw, 64px);
  grid-template-rows: auto minmax(0, 1fr);
}

.hero-header {
  display: block;
}

.hero-message {
  display: flex;
  max-width: min(64%, 820px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vh, 110px) 0 clamp(56px, 8vh, 110px);
}

.hero-title {
  max-width: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8.4vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-title .accent {
  color: var(--lime);
}

.hero-definition {
  max-width: 560px;
  margin: clamp(24px, 3vh, 36px) 0 0;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
}

.hero-actions,
.close-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: clamp(28px, 4vh, 42px);
}

.route-strip {
  padding: 0 clamp(20px, 4vw, 64px) clamp(20px, 4vw, 64px);
  background: var(--ink);
}

.hero-route {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  list-style: none;
  background: rgba(17, 17, 17, 0.42);
  backdrop-filter: blur(18px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-route li {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: clamp(12px, 1.5vw, 20px);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  color: var(--muted-light);
  grid-template-columns: auto 1fr;
}

.hero-route li:last-child {
  color: var(--ink);
  background: var(--lime);
}

.hero-route span {
  font-size: 0.6rem;
  font-weight: 700;
}

.hero-route strong {
  overflow-wrap: anywhere;
  font-size: clamp(0.68rem, 0.82vw, 0.82rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-route small {
  grid-column: 2;
  font-size: clamp(0.6rem, 0.72vw, 0.72rem);
  line-height: 1.28;
}

.promise {
  padding: clamp(72px, 11vw, 160px) clamp(20px, 6vw, 96px);
  color: var(--charcoal);
  background: var(--lime);
}

.promise h2 {
  max-width: 1200px;
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.5vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-transform: uppercase;
}

.pillars {
  display: grid;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  color: var(--charcoal);
  background: var(--bone);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar {
  min-width: 0;
  min-height: 360px;
  padding: clamp(24px, 4vw, 56px);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.pillar-number {
  display: block;
  margin-bottom: clamp(64px, 9vw, 120px);
  color: var(--muted-dark);
}

.pillar h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}

.pillar p {
  max-width: 360px;
  margin: 0;
  line-height: 1.5;
}

.method {
  display: grid;
  min-height: 90svh;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
}

.method-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(48px, 6vw, 96px);
}

.method-copy h2 {
  max-width: 650px;
  margin: clamp(56px, 12vh, 140px) 0 48px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.1vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.86;
  text-transform: uppercase;
}

.method-copy > p:last-child {
  max-width: 540px;
  margin: 0;
  color: var(--muted-light);
  font-size: 1.05rem;
  line-height: 1.55;
}

.method-board {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 80px);
  color: var(--charcoal);
  background-color: var(--lime);
  background-image:
    linear-gradient(rgba(42, 42, 42, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 42, 42, 0.09) 1px, transparent 1px);
  background-size: 32px 32px;
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 20px;
}

.board-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--charcoal);
}

.workflow {
  margin: 0;
  padding: 0;
  border: 1px solid var(--charcoal);
  list-style: none;
  background: var(--bone);
}

.workflow li {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: 20px;
  padding: clamp(18px, 2.3vw, 30px);
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 36px minmax(0, 1fr) auto;
}

.workflow li:last-child {
  border-bottom: 0;
  color: var(--bone);
  background: var(--charcoal);
}

.workflow-number {
  align-self: start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.workflow strong,
.workflow small {
  display: block;
}

.workflow strong {
  margin-bottom: 5px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  text-transform: uppercase;
}

.workflow small {
  color: var(--muted-dark);
  font-size: 0.78rem;
  line-height: 1.35;
}

.workflow li:last-child small {
  color: var(--muted-light);
}

.workflow-state {
  padding: 7px 9px;
  border: 1px solid currentColor;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operations {
  padding: clamp(72px, 10vw, 144px) clamp(20px, 4vw, 64px) clamp(20px, 4vw, 64px);
  color: var(--charcoal);
  background: var(--bone);
}

.operations-header {
  display: grid;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(56px, 8vw, 112px);
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
}

.operations-header h2 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.8vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-transform: uppercase;
}

.operation-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.operation-card {
  min-width: 0;
  padding: 12px 12px 18px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.22);
}

.operation-card:nth-child(3) {
  color: var(--bone);
  background: var(--charcoal);
}

.operation-card h3 {
  min-height: 2em;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.operation-art {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 20px;
  color: var(--bone);
  background: var(--charcoal);
}

.operation-wide {
  grid-column: span 7;
}

.operation-tall {
  grid-column: span 5;
}

.operation-tall .operation-art {
  aspect-ratio: 4 / 5;
}

.operation-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.operation-art .petra-brand-image {
  object-position: center 58%;
}

.operation-card:hover .operation-art img {
  transform: scale(1.02);
}

.card-capture .operation-art {
  background:
    radial-gradient(circle at 62% 38%, rgba(222, 251, 112, 0.2), transparent 22%),
    var(--charcoal);
}

.card-capture .operation-art i {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--lime);
  border-style: solid;
}

.card-capture .operation-art i:nth-child(1) {
  top: 18px;
  left: 18px;
  border-width: 2px 0 0 2px;
}

.card-capture .operation-art i:nth-child(2) {
  top: 18px;
  right: 18px;
  border-width: 2px 2px 0 0;
}

.card-capture .operation-art i:nth-child(3) {
  right: 18px;
  bottom: 18px;
  border-width: 0 2px 2px 0;
}

.card-capture .operation-art i:nth-child(4) {
  bottom: 18px;
  left: 18px;
  border-width: 0 0 2px 2px;
}

.card-capture .operation-art b {
  position: absolute;
  right: 28px;
  bottom: 26px;
  color: var(--lime);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.card-approval .operation-art {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 24px;
}

.card-approval .operation-art span {
  position: relative;
  display: block;
  height: 46px;
  border: 1px solid var(--line-light);
}

.card-approval .operation-art span::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 42%;
  height: 5px;
  background: rgba(229, 232, 223, 0.45);
  content: "";
  transform: translateY(-50%);
}

.card-approval .operation-art span::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--muted-light);
  content: "";
  transform: translateY(-50%);
}

.card-approval .operation-art span.checked::after {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: inset 0 0 0 4px var(--charcoal);
}

.card-edit .operation-art {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 24px;
}

.card-edit .operation-art::before {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 62%;
  width: 2px;
  background: var(--lime);
  content: "";
}

.card-edit .operation-art span {
  display: block;
  flex: 1;
  background: rgba(229, 232, 223, 0.2);
}

.card-edit .operation-art span:nth-child(1) {
  height: 32%;
}

.card-edit .operation-art span:nth-child(2) {
  height: 58%;
}

.card-edit .operation-art span:nth-child(3) {
  height: 44%;
  background: var(--lime);
}

.card-edit .operation-art span:nth-child(4) {
  height: 72%;
}

.card-publish .operation-art i,
.card-publish .operation-art b {
  position: absolute;
  border-radius: 50%;
}

.card-publish .operation-art i {
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 8px solid var(--charcoal);
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}

.card-publish .operation-art i:nth-child(1) {
  top: 18%;
  left: 18%;
}

.card-publish .operation-art i:nth-child(2) {
  top: 22%;
  right: 16%;
}

.card-publish .operation-art i:nth-child(3) {
  right: 35%;
  bottom: 16%;
}

.card-publish .operation-art b {
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  background: var(--lime);
  transform: translate(-50%, -50%);
}

.card-publish .operation-art::before,
.card-publish .operation-art::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 58%;
  height: 1px;
  background: var(--lime);
  content: "";
  transform-origin: left center;
}

.card-publish .operation-art::before {
  transform: rotate(-32deg);
}

.card-publish .operation-art::after {
  transform: rotate(46deg);
}

.close {
  display: grid;
  align-items: end;
  gap: 64px;
  min-height: 80svh;
  padding: clamp(64px, 9vw, 128px) clamp(20px, 6vw, 96px);
  color: var(--charcoal);
  background: var(--bone);
  grid-template-columns: minmax(0, 1fr) auto;
}

.close h2 {
  max-width: 980px;
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-transform: uppercase;
}

.close address {
  margin-top: 32px;
  font-style: normal;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.close-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.5;
}

.close address a {
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}

.close .button {
  color: var(--charcoal);
  background: var(--lime);
}

.close-actions {
  align-items: flex-start;
  flex-direction: column;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--line-light);
  color: var(--muted-light);
  background: var(--ink);
  font-size: 0.8rem;
}

.site-footer img {
  width: 40px;
  height: auto;
}

.site-footer p {
  margin: 0;
}

.error-page {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
  padding: clamp(24px, 6vw, 96px);
}

.error-page > div {
  min-width: 0;
}

.error-page h1 {
  max-width: 980px;
  margin: 20px 0;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-transform: uppercase;
}

.error-page > div > p:not(.eyebrow) {
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.error-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.error-actions .button {
  color: var(--ink);
  background: var(--lime);
}

.error-actions > a:not(.button) {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .hero-message {
    max-width: 64%;
  }

  .method {
    grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1.22fr);
  }

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

  .operation-wide,
  .operation-tall {
    grid-column: span 1;
  }
}

@media (max-width: 960px) {
  .hero-message {
    max-width: 62%;
  }

  .hero-title {
    font-size: clamp(4rem, 11.5vw, 7rem);
  }

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

  .pillar {
    min-height: auto;
  }

  .pillar-number {
    margin-bottom: 56px;
  }

  .method-copy {
    min-height: 72svh;
  }

  .method-board {
    min-height: 72svh;
  }

  .operations-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
  }

  .hero-scene-image {
    object-position: 50% 50%;
  }

  .hero-scene-shade {
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.94) 0%, rgba(17, 17, 17, 0.87) 46%, rgba(17, 17, 17, 0.58) 74%, rgba(17, 17, 17, 0.36) 100%),
      linear-gradient(90deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.28));
  }

  .hero-capture {
    display: none;
  }

  .hero-copy {
    min-height: 100svh;
    padding: 20px;
  }

  .hero-message {
    max-width: 100%;
    padding: 44px 0 28px;
  }

  .hero-title {
    font-size: clamp(3.15rem, 15vw, 4.8rem);
    line-height: 0.8;
  }

  .hero-definition {
    max-width: 92%;
    margin-top: 22px;
    font-size: clamp(1rem, 4.8vw, 1.15rem);
  }

  .close {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .close .button {
    justify-self: start;
  }

  .route-strip {
    padding: 0 20px 20px;
  }

  .hero-route {
    grid-template-columns: 1fr 1fr;
  }

  .hero-route li {
    padding: 10px;
  }

  .hero-route small {
    font-size: 0.57rem;
  }

  .promise h2,
  .close h2 {
    font-size: clamp(2.75rem, 14vw, 4.8rem);
  }

  .method-copy {
    min-height: auto;
    padding: 72px 20px;
  }

  .method-copy h2 {
    margin: 72px 0 36px;
    font-size: clamp(2.65rem, 13vw, 4.5rem);
  }

  .method-board {
    min-height: auto;
    padding: 56px 12px;
  }

  .workflow li {
    gap: 12px;
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .workflow-state {
    justify-self: start;
    grid-column: 2;
  }

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

  .operation-wide,
  .operation-tall {
    grid-column: span 1;
  }

  .operation-card h3 {
    min-height: 0;
  }

  .operation-art {
    aspect-ratio: 4 / 5;
  }

  .operation-wide .operation-art {
    aspect-ratio: 16 / 11;
  }

  .close {
    min-height: 70svh;
  }
}

@media (max-width: 360px) {
  .hero-copy {
    padding: 18px;
  }

  .brand-logo {
    width: 118px;
  }

  .hero-message {
    padding: 36px 0 24px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-definition {
    margin-top: 18px;
  }

  .button {
    min-height: 48px;
    padding: 0.85rem 1rem;
  }

  .hero-route li {
    padding: 11px;
  }

  .board-header,
  .site-footer,
  .error-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .workflow-state {
    font-size: 0.52rem;
  }

  .error-page h1 {
    font-size: clamp(2.75rem, 12vw, 3.5rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
