:root {
  --ink: #18201d;
  --muted: #63716b;
  --paper: #f4f0e8;
  --paper-2: #ebe2d4;
  --panel: #fffaf1;
  --line: rgba(24, 32, 29, 0.14);
  --field: rgba(255, 250, 241, 0.82);
  --forest: #1f3a32;
  --moss: #64785f;
  --brass: #b1833c;
  --rust: #8d4635;
  --blueprint: #20354a;
  --shadow: 0 28px 80px rgba(24, 32, 29, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 2%, rgba(177, 131, 60, 0.24), transparent 34rem),
    linear-gradient(135deg, rgba(31, 58, 50, 0.08) 0 1px, transparent 1px 26px),
    var(--paper);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - 1140px) / 2));
  border-bottom: 1px solid rgba(255, 250, 241, 0.14);
  background: rgba(24, 32, 29, 0.88);
  color: var(--panel);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.55);
  background: var(--brass);
  color: #17201d;
  font-family: "Instrument Serif", serif;
  font-size: 31px;
  line-height: 1;
}

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

.brand strong {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
}

.brand small {
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  color: rgba(255, 250, 241, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fffaf1;
}

.site-nav .nav-cta {
  margin-left: 8px;
  border: 1px solid rgba(255, 250, 241, 0.32);
  background: rgba(255, 250, 241, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 1px solid rgba(255, 250, 241, 0.28);
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--panel);
}

.hero {
  position: relative;
  min-height: 690px;
  padding-top: 122px;
  overflow: hidden;
  color: var(--panel);
  background:
    linear-gradient(105deg, rgba(24, 32, 29, 0.96) 0%, rgba(31, 58, 50, 0.88) 48%, rgba(32, 53, 74, 0.72) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -180px;
  width: 52vw;
  height: 52vw;
  min-width: 560px;
  content: "";
  border: 1px solid rgba(255, 250, 241, 0.16);
  transform: rotate(19deg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 250, 241, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 241, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 0.97;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(4.2rem, 9vw, 8.7rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 660px;
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(177, 131, 60, 0.45);
  outline-offset: 3px;
}

.button-primary {
  background: var(--brass);
  color: #161d1a;
}

.button-secondary {
  border-color: currentColor;
  color: inherit;
}

.hero-card {
  position: relative;
  min-height: 460px;
  padding: 32px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  background: rgba(255, 250, 241, 0.1);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
}

.hero-card h2 {
  max-width: 360px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.radar {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  background:
    radial-gradient(circle, transparent 0 19%, rgba(255, 250, 241, 0.14) 20% 20.4%, transparent 21% 43%, rgba(255, 250, 241, 0.11) 44% 44.5%, transparent 45%),
    conic-gradient(from 210deg, rgba(177, 131, 60, 0.65), transparent 23%, transparent);
  border-radius: 50%;
  animation: sweep 8s linear infinite;
}

.radar span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 8px rgba(177, 131, 60, 0.16);
}

.radar span:nth-child(1) {
  top: 28%;
  left: 62%;
}

.radar span:nth-child(2) {
  top: 58%;
  left: 34%;
}

.radar span:nth-child(3) {
  top: 66%;
  left: 72%;
}

.signal-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.signal-list span {
  padding: 12px 14px;
  border-left: 3px solid var(--brass);
  background: rgba(255, 250, 241, 0.1);
  color: rgba(255, 250, 241, 0.78);
  font-weight: 700;
}

.cred-bar {
  background: var(--ink);
  color: var(--panel);
}

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

.cred-grid span {
  display: grid;
  min-height: 84px;
  place-items: center;
  padding: 18px;
  border-left: 1px solid rgba(255, 250, 241, 0.12);
  color: rgba(255, 250, 241, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.split,
.about-grid,
.process-grid,
.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
}

.large-copy,
.section-heading p,
.about-copy p,
.panel p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.services-section,
.industries-section {
  background: rgba(255, 250, 241, 0.48);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-card {
  grid-column: span 2;
  min-height: 276px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.74);
  box-shadow: 0 12px 28px rgba(24, 32, 29, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
  transform: translateY(28px);
}

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

.service-card:nth-child(2):hover,
.service-card:nth-child(5):hover {
  transform: translateY(18px);
}

.service-card p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--forest);
  color: var(--panel);
  font-size: 0.8rem;
  font-weight: 800;
}

.panel,
.contact-panel {
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  background: linear-gradient(var(--brass), var(--brass)) left 0.78em / 14px 2px no-repeat;
  color: var(--forest);
  font-weight: 800;
}

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

.industry-grid span {
  min-height: 116px;
  padding: 22px;
  background: var(--paper);
  color: var(--forest);
  font-weight: 800;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.62);
}

.step b {
  display: grid;
  height: 58px;
  place-items: center;
  background: var(--blueprint);
  color: var(--panel);
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 400;
}

.step span {
  color: var(--forest);
  font-weight: 800;
}

.contact-section {
  padding-top: 40px;
}

.contact-panel {
  grid-template-columns: 0.82fr 1fr;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.93), rgba(235, 226, 212, 0.9)),
    var(--panel);
}

.contact-note {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(141, 70, 53, 0.25);
  color: var(--rust);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  padding: 32px 0;
  background: var(--ink);
  color: rgba(255, 250, 241, 0.72);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 0;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 77px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 250, 241, 0.14);
    background: rgba(24, 32, 29, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .about-grid,
  .process-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .cred-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .service-card {
    grid-column: span 1;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(5),
  .service-card:nth-child(2):hover,
  .service-card:nth-child(5):hover {
    transform: none;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .section-pad {
    padding: 68px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 4.8rem);
  }

  .hero {
    padding-top: 82px;
  }

  .hero-card,
  .panel,
  .contact-panel {
    padding: 24px;
  }

  .cred-grid,
  .card-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .cred-grid span,
  .industry-grid span {
    min-height: 76px;
  }

  .footer-grid {
    display: grid;
  }
}
