:root {
  --bg: #0b0d10;
  --bg-soft: #15181c;
  --panel: #1d2126;
  --panel-light: #262b31;
  --surface: #f4f1e8;
  --surface-card: #ffffff;

  --gold: #b89b5e;
  --gold-soft: #d2c08a;
  --gold-dark: #7a6538;

  --text: #f4f1e8;
  --text-dark: #15181c;
  --text-soft: #cfc7b8;
  --text-muted: #81796b;

  --border: rgba(184, 155, 94, 0.28);
  --border-strong: rgba(184, 155, 94, 0.56);
  --border-light: rgba(21, 24, 28, 0.12);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(184, 155, 94, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 8%, rgba(21, 24, 28, 0.16), transparent 24rem),
    linear-gradient(180deg, #fbfaf6 0%, var(--surface) 45%, #ebe5d8 100%);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

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

::selection {
  background: var(--gold);
  color: #000;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 24px rgba(184, 155, 94, 0.42);
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-field::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(11, 13, 16, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 13, 16, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: translateY(calc(var(--scroll-y, 0) * -0.04px));
}

.ambient-field span {
  position: absolute;
  width: 34vw;
  max-width: 520px;
  aspect-ratio: 1;
  border: 1px solid rgba(184, 155, 94, 0.18);
  border-radius: 999px;
  opacity: 0.18;
  transform: translate3d(0, calc(var(--scroll-y, 0) * 0.025px), 0);
}

.ambient-field span:nth-child(1) {
  top: 15%;
  left: -12%;
}

.ambient-field span:nth-child(2) {
  top: 45%;
  right: -18%;
  transform: translate3d(0, calc(var(--scroll-y, 0) * -0.02px), 0);
}

.ambient-field span:nth-child(3) {
  bottom: -18%;
  left: 35%;
}

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

.hidden-field {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 76px;
  padding: 0 max(20px, calc((100% - var(--max-width)) / 2));
  background: rgba(11, 13, 16, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-image {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-image img {
  display: block;
  width: 232px;
  height: auto;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-image:hover img,
.logo-image:focus-visible img {
  filter: drop-shadow(0 0 18px rgba(184, 155, 94, 0.3));
  transform: translateY(-1px);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

nav a {
  position: relative;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--gold-soft);
}

nav a.is-active {
  color: var(--gold-soft);
}

nav a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

nav a:not(.nav-button):hover::after,
nav a:not(.nav-button):focus-visible::after,
nav a:not(.nav-button).is-active::after {
  transform: scaleX(1);
}

.nav-button {
  padding: 9px 15px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold-soft);
  font-weight: 800;
}

.nav-button:hover,
.nav-button:focus-visible {
  background: var(--gold);
  color: #080808;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

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

main {
  overflow: hidden;
  position: relative;
}

.section,
.intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 78px 20px;
  position: relative;
}

.eyebrow {
  color: var(--gold-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  margin-bottom: 14px;
}

h1 {
  color: var(--text-dark);
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 820px;
  text-wrap: balance;
}

h2 {
  color: var(--text-dark);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
  margin-bottom: 18px;
  text-wrap: balance;
}

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

p {
  font-size: 1rem;
}

.hero-text,
.section-lead,
.intro p,
.about p,
.contact p,
.card p,
.content-stack p {
  color: #5a544a;
}

.section-lead {
  max-width: 790px;
  margin-bottom: 32px;
}

.hero {
  max-width: var(--max-width);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 98px 20px 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
  position: relative;
}

.thank-you {
  min-height: calc(100vh - 76px);
  grid-template-columns: 1fr;
  align-items: center;
}

.thank-you .hero-text {
  max-width: 760px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 62px;
  right: 10px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(184, 155, 94, 0.1);
  border-radius: 999px;
  transform: translate3d(0, calc(var(--scroll-y, 0) * -0.05px), 0);
}

.hero::after {
  content: "";
  position: absolute;
  right: 96px;
  bottom: 76px;
  width: 170px;
  height: 170px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(184, 155, 94, 0.36) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(184, 155, 94, 0.36) 50%, transparent 51%);
  background-size: 34px 34px;
  opacity: 0.22;
  transform: rotate(12deg) translate3d(0, calc(var(--scroll-y, 0) * 0.035px), 0);
}

.hero-text {
  font-size: 1.13rem;
  max-width: 690px;
  margin-top: 24px;
}

.hero > div,
.hero-panel {
  position: relative;
  z-index: 1;
}

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

.hero-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  padding: 32px;
  overflow: hidden;
  transform: translate3d(0, calc(var(--scroll-y, 0) * -0.018px), 0);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(210, 192, 138, 0.2), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 36%);
  opacity: 0.85;
}

.hero-panel h2,
.hero-panel ul {
  position: relative;
  z-index: 1;
}

.signal-map {
  position: relative;
  z-index: 1;
  height: 106px;
  margin-bottom: 28px;
  border: 1px solid rgba(184, 155, 94, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(244, 241, 232, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(244, 241, 232, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow: hidden;
}

.signal-map::before {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(210, 192, 138, 0.42), transparent);
  animation: scanline 7s ease-in-out infinite;
}

.signal-map span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 20px rgba(210, 192, 138, 0.82);
}

.signal-map span:nth-child(1) {
  left: 18%;
  top: 31%;
}

.signal-map span:nth-child(2) {
  left: 38%;
  top: 62%;
  animation-delay: 0.3s;
}

.signal-map span:nth-child(3) {
  left: 63%;
  top: 38%;
  animation-delay: 0.6s;
}

.signal-map span:nth-child(4) {
  left: 82%;
  top: 67%;
  animation-delay: 0.9s;
}

.signal-map span {
  animation: pulse-node 2.8s ease-in-out infinite;
}

.hero-panel h2 {
  color: var(--text);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.hero-panel ul,
.check-list {
  list-style: none;
}

.hero-panel li,
.check-list li {
  position: relative;
  padding-left: 23px;
}

.hero-panel li {
  color: var(--text-soft);
}

.hero-panel li + li,
.check-list li + li {
  margin-top: 12px;
}

.hero-panel li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.button,
button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button::before,
button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.button:hover::before,
.button:focus-visible::before,
button:hover::before,
button:focus-visible::before {
  transform: translateX(120%);
}

.primary,
button {
  background: var(--gold);
  color: #080808;
}

.primary:hover,
.primary:focus-visible,
button:hover,
button:focus-visible {
  background: var(--gold-soft);
  box-shadow: 0 12px 28px rgba(122, 101, 56, 0.16);
  transform: translateY(-1px);
}

.secondary {
  border-color: var(--text-dark);
  color: var(--text-dark);
  background: transparent;
}

.secondary:hover,
.secondary:focus-visible {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

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

.intro {
  margin-top: 8px;
  border-top: 1px solid var(--border-light);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

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

.service-groups {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-groups .card {
  background:
    linear-gradient(145deg, rgba(184, 155, 94, 0.1), transparent 40%),
    var(--bg-soft);
  color: var(--text);
  border-color: var(--border);
}

.service-groups .card p {
  color: var(--text-soft);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.service-list .card {
  min-height: 132px;
  padding: 20px;
}

.service-list h3 {
  font-size: 0.98rem;
}

.service-list p {
  font-size: 0.92rem;
}

.capability-grid,
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.capability-grid span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(184, 155, 94, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 800;
  line-height: 1.25;
}

.fit-note {
  margin-top: 28px;
  color: var(--text-soft);
  font-weight: 800;
}

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

.deliverable-grid .card {
  min-height: 150px;
}

.boundary-section {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.boundary-section h2 {
  max-width: 760px;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
}

.boundary-copy {
  max-width: 860px;
  color: #5a544a;
  font-size: 0.95rem;
}

.card {
  background:
    linear-gradient(145deg, rgba(184, 155, 94, 0.055), transparent 36%),
    var(--surface-card);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 172px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.card:hover {
  border-color: rgba(184, 155, 94, 0.38);
  box-shadow: 0 18px 45px rgba(21, 24, 28, 0.1);
  transform: translateY(-4px);
}

.card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.dark {
  width: min(100% - 40px, var(--max-width));
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 34px;
  margin-bottom: 34px;
}

.dark,
.dark h2,
.dark h3 {
  color: var(--text);
}

.dark .eyebrow {
  color: var(--gold-soft);
}

.dark .section-lead,
.dark .card p,
.dark .content-stack p {
  color: var(--text-soft);
}

.dark-card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(184, 155, 94, 0.24);
}

.dark-card:hover {
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

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

.notice {
  padding: 18px 20px;
  background: rgba(184, 155, 94, 0.12);
  border-left: 4px solid var(--gold);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.steps div {
  padding: 24px;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.steps div:hover {
  border-color: rgba(184, 155, 94, 0.38);
  box-shadow: 0 16px 42px rgba(21, 24, 28, 0.1);
  transform: translateY(-4px);
}

.trust-band {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 34px;
  margin-bottom: 34px;
}

.trust-band h2 {
  color: var(--text);
  max-width: 900px;
}

.trust-band .eyebrow {
  color: var(--gold-soft);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(184, 155, 94, 0.22);
  border-radius: var(--radius);
}

.credibility-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.credibility-grid strong {
  color: var(--gold-soft);
  font-size: 1rem;
}

.credibility-grid span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.steps strong {
  display: block;
  color: var(--gold-dark);
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}

.steps span {
  display: block;
  color: var(--text-dark);
  font-weight: 900;
  line-height: 1.25;
}

.contact a {
  color: var(--gold-dark);
  font-weight: 800;
}

form {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text-dark);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #cbc3b5;
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
}

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

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(184, 155, 94, 0.28);
  border-color: var(--gold-dark);
}

.form-message {
  min-height: 1.5em;
  color: var(--gold-dark);
  font-weight: 800;
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px max(20px, calc((100% - var(--max-width)) / 2));
  background: var(--bg);
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.card[data-reveal],
.steps div[data-reveal] {
  transform: translate3d(0, 34px, 0) scale(0.985);
}

.card[data-reveal].is-visible,
.steps div[data-reveal].is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-panel[data-reveal].is-visible {
  transform: translate3d(0, calc(var(--scroll-y, 0) * -0.018px), 0);
}

.card[data-reveal].is-visible:hover {
  transform: translateY(-4px) scale(1);
}

.steps div[data-reveal].is-visible:hover {
  transform: translateY(-4px) scale(1);
}

@keyframes scanline {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0;
  }

  18%,
  76% {
    opacity: 1;
  }

  82% {
    transform: translateX(330%);
    opacity: 0;
  }
}

@keyframes pulse-node {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.5;
  }

  45% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.footer-logo img {
  display: block;
  width: 230px;
  height: auto;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .split,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 78px;
  }

  .hero::before,
  .hero::after {
    opacity: 0.45;
  }

  .hero-panel {
    max-width: 680px;
  }

  .grid.three,
  .steps,
  .service-groups,
  .service-list,
  .credibility-grid,
  .capability-grid,
  .deliverable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    padding: 12px 0;
  }

  .nav-button {
    margin-top: 4px;
    text-align: center;
  }

  .section,
  .intro {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-panel {
    transform: none;
  }

  .grid,
  .grid.three,
  .steps,
  .service-groups,
  .service-list,
  .credibility-grid,
  .capability-grid,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .logo-image img {
    width: 188px;
  }

  .hero,
  .section,
  .intro {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dark {
    width: calc(100% - 32px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  button {
    width: 100%;
  }

  .card,
  .steps div,
  form,
  .hero-panel {
    padding: 22px;
  }
}

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

  .hero-panel,
  .hero::before,
  .hero::after,
  .ambient-field::before,
  .ambient-field span {
    transform: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
