:root {
  --bg: #0c1117;
  --bg-2: #121820;
  --panel: #161d26;
  --panel-2: #1b2430;
  --line: rgba(210, 220, 232, 0.12);
  --line-strong: rgba(210, 220, 232, 0.2);
  --text: #eef2f6;
  --muted: #9aa8b8;
  --accent: #c9a46a;
  --accent-2: #dfc08a;
  --steel: #8ea0b4;
  --success: #74c28f;
  --radius: 6px;
  --header-h: 76px;
  --font-display: "Syne", "Figtree", sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
.brand,
.logo-mark,
.cap-no,
.process-steps span {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

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

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(12, 17, 23, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 164, 106, 0.42);
  background: linear-gradient(160deg, #243041, #151b24);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.logo-text {
  display: grid;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.logo-text small {
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
}

.nav-desktop a,
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-desktop a:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-phone {
  display: none;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(201, 164, 106, 0.4);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-phone:hover {
  background: rgba(201, 164, 106, 0.12);
  border-color: var(--accent);
}

.menu-btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-content: center;
  gap: 6px;
}

.menu-btn span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  display: grid;
  align-content: start;
  gap: 0.15rem;
  padding: 1.25rem 1.25rem 2rem;
  background: rgba(12, 17, 23, 0.97);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-mobile.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-mobile a {
  padding: 0.95rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.nav-mobile-cta {
  margin-top: 0.75rem;
  color: var(--accent) !important;
  border-bottom: 0 !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 3.5rem) 0 4.75rem;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: hero-ken 22s var(--ease) infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 17, 23, 0.92) 0%, rgba(12, 17, 23, 0.72) 42%, rgba(12, 17, 23, 0.45) 100%),
    linear-gradient(180deg, rgba(12, 17, 23, 0.35) 0%, rgba(12, 17, 23, 0.2) 40%, rgba(12, 17, 23, 0.92) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(142, 160, 180, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 160, 180, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 70% 40%, black, transparent);
  animation: grid-drift 30s linear infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.brand {
  font-size: clamp(2.8rem, 9vw, 5.4rem);
  font-weight: 800;
  line-height: 0.92;
  margin-bottom: 1.1rem;
  background: linear-gradient(115deg, #ffffff 10%, var(--accent-2) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(1.35rem, 3.1vw, 2.05rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero-lead {
  color: rgba(238, 242, 246, 0.78);
  font-size: 1.08rem;
  max-width: 38rem;
  margin-bottom: 1.9rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #1a140c;
  box-shadow: 0 10px 30px rgba(201, 164, 106, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #e8cf9d, #d0ad73);
}

.btn-ghost {
  border: 1px solid rgba(238, 242, 246, 0.22);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(238, 242, 246, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.reveal {
  animation: rise 0.9s var(--ease) both;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-ken {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-56px, -56px, 0);
  }
}

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

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

.trust-grid > div {
  background: var(--bg);
  padding: 1.25rem 1rem;
}

.trust-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.trust-grid strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(201, 164, 106, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(18, 24, 32, 0.9), rgba(12, 17, 23, 0.2));
  border-block: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section h2,
.not-found h1 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.12;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.section-lead,
.about-intro p,
.scope-block p,
.contact-hours p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

.section-head {
  margin-bottom: 2.75rem;
}

.about-layout,
.contact-layout,
.values-layout {
  display: grid;
  gap: 2.5rem;
}

.about-intro p + p {
  margin-top: 1rem;
}

.about-aside {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-aside > div {
  background: var(--panel);
  padding: 1.15rem 1.2rem;
}

.about-aside span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.about-aside strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Capabilities */
.capability-list {
  display: grid;
  gap: 0;
}

.capability-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.85rem 0;
  border-top: 1px solid var(--line);
}

.capability-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.cap-no {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  padding-top: 0.2rem;
}

.capability-list h3 {
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
}

.capability-list p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.capability-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.capability-list li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.02);
}

/* Industries */
.industry-grid {
  display: grid;
  gap: 1rem;
}

.industry-grid article {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.industry-grid article:last-child {
  border-bottom: 1px solid var(--line);
}

.industry-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.industry-grid p {
  color: var(--muted);
}

/* Values */
.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.values-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.25rem;
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(201, 164, 106, 0.08), transparent);
}

.values-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.values-list span {
  color: var(--muted);
}

/* Process */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}

.process-steps li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.process-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-steps span {
  display: block;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.process-steps h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.process-steps p {
  color: var(--muted);
}

/* Registry */
.registry {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.registry-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  background: linear-gradient(135deg, #1c2531, #151c25);
  border-bottom: 1px solid var(--line);
}

.registry-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.registry-top h3 {
  font-size: 1.15rem;
}

.registry-badge {
  align-self: start;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(116, 194, 143, 0.35);
  background: rgba(116, 194, 143, 0.1);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 600;
}

.profile {
  margin: 0;
}

.profile > div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
}

.profile > div:last-child {
  border-bottom: 0;
}

.profile dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.scope-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.scope-tags {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.scope-tags li {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--steel);
  font-size: 0.88rem;
}

/* Contact */
.contact-section {
  background:
    radial-gradient(ellipse 50% 45% at 100% 0%, rgba(201, 164, 106, 0.14), transparent 60%),
    var(--bg);
}

.contact-hours {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.contact-hours strong {
  font-family: var(--font-display);
}

.contact-panel {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-row {
  display: grid;
  gap: 0.4rem;
  padding: 1.3rem 1.35rem;
  background: var(--panel);
  transition: background 0.2s ease;
}

a.contact-row:hover {
  background: var(--panel-2);
}

.contact-row span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-row strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2.8rem;
  background: #0a0e13;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.15rem;
}

.footer-brand p,
.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-meta {
  display: grid;
  gap: 0.25rem;
}

/* Sitemap */
.sitemap-page {
  padding-top: calc(var(--header-h) + 3.5rem);
}

.sitemap-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.12;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.sitemap-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.sitemap-list li {
  border-bottom: 1px solid var(--line);
}

.sitemap-list a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.sitemap-list a:hover {
  color: var(--accent);
}

/* 404 */
.not-found {
  min-height: calc(100svh - var(--header-h) - 140px);
  display: grid;
  align-content: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.not-found .lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

@media (min-width: 720px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .industry-grid article:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }

  .process-steps li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .profile > div {
    grid-template-columns: 12rem 1fr;
    gap: 1.25rem;
    align-items: start;
  }

  .about-layout,
  .contact-layout,
  .values-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: center;
  }

  .footer-meta {
    text-align: right;
  }
}

@media (min-width: 980px) {
  .nav-desktop,
  .header-phone {
    display: inline-flex;
    align-items: center;
  }

  .menu-btn,
  .nav-mobile {
    display: none;
  }

  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .process-steps li {
    padding: 0 1.25rem 0 0;
    border: 0;
    border-right: 1px solid var(--line);
  }

  .process-steps li:last-child {
    border-right: 0;
    padding-right: 0;
  }

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

  .industry-grid article:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
}

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

  .reveal,
  .hero-visual img,
  .hero-grain {
    animation: none !important;
  }
}
