:root {
  --bg: #090b12;
  --bg-soft: #101423;
  --surface: rgba(10, 13, 22, 0.82);
  --surface-2: rgba(16, 20, 34, 0.88);
  --text: #f3ede1;
  --muted: #cec3ad;
  --gold: #d4af37;
  --gold-soft: #f0d98a;
  --border: rgba(212, 175, 55, 0.3);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(212, 175, 55, 0.1),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 22%,
      rgba(255, 225, 150, 0.09),
      transparent 18%
    ),
    radial-gradient(
      circle at 75% 68%,
      rgba(212, 175, 55, 0.08),
      transparent 25%
    ),
    linear-gradient(180deg, rgba(9, 11, 18, 0.98), rgba(11, 14, 24, 0.98)),
    url('../images/screenshot.png') center top / cover fixed no-repeat;
  background-blend-mode: screen, screen, screen, normal, overlay;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0 0 1rem;
}

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

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: #fff;
  color: #000;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}
.container--narrow {
  max-width: 800px;
}
.section {
  padding: 5rem 0;
}
.eyebrow {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.section-heading--center {
  text-align: center;
  margin-inline: auto;
}
.section-heading h2,
.entry-title,
h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.brand__logo {
  width: 62px;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.15));
}
.brand__text-wrap {
  display: flex;
  flex-direction: column;
}
.brand__title {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}
.brand__subtitle {
  text-transform: uppercase;
  letter-spacing: 0.21em;
  font-size: 0.78rem;
  color: var(--muted);
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0;
  min-width: 240px;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  background: rgba(10, 13, 22, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 0 0 14px 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.28s ease;
}

.sub-menu a {
  display: block;
  padding: 0.8rem 1rem;
  min-height: auto;
}
.sub-menu li + li {
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}
.menu-item-has-children > a {
  padding-right: 0.9rem;
}
.menu-item-has-children > a::before {
  content: '▾';
  position: absolute;
  right: -0.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: var(--gold-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--gold {
  background: linear-gradient(180deg, #e3c15b, #c89827);
  color: #120f09;
  box-shadow: 0 14px 30px rgba(200, 152, 39, 0.18);
}
.button--ghost,
.button--outline {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero {
  padding-top: 6rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.hero__lead {
  max-width: 720px;
  font-size: 1.1rem;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
}
.hero__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero__meta li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}
.hero__visual {
  padding: 2rem;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(212, 175, 55, 0.12),
    transparent 45%
  );
}
.hero__visual img {
  width: min(100%, 360px);
  margin-inline: auto;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.15));
}

.card-grid,
.service-grid,
.process-grid {
  display: grid;
  gap: 1.25rem;
}
.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.card,
.service-card,
.process-card,
.post-card,
.image-panel,
.cta-band__inner {
  background: linear-gradient(
    180deg,
    rgba(18, 22, 36, 0.86),
    rgba(11, 13, 22, 0.92)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card,
.process-card,
.post-card {
  padding: 1.5rem;
}
.solution-strip {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--gold-soft);
}
.solution-strip span::before {
  content: '✦ ';
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  overflow: hidden;
}
.service-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-card h3,
.service-card p {
  padding-inline: 1.25rem;
}
.service-card h3 {
  margin-top: 1rem;
}
.service-card p {
  padding-bottom: 1.25rem;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.feature-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}
.feature-list li::before {
  content: '— ';
  color: var(--gold-soft);
}
.image-panel {
  padding: 1rem;
}
.image-panel img {
  border-radius: 14px;
}
.image-panel--tall img {
  max-height: 780px;
  object-fit: cover;
  width: 100%;
}

.process-grid {
  grid-template-columns: repeat(5, 1fr);
}
.process-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border);
  color: var(--gold-soft);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-band__inner {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-content .entry-content,
.page-content .entry-header,
.post-card p {
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: rgba(6, 8, 14, 0.84);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer__title,
.site-footer h3 {
  color: var(--gold-soft);
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu li + li {
  margin-top: 0.7rem;
}
.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--muted);
}

@media (max-width: 1100px) {
  .card-grid--4,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__grid,
  .two-column,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .card-grid--4,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .brand__title {
    font-size: 1.4rem;
  }

  .brand__subtitle {
    font-size: 0.68rem;
  }
}

/* =================================
   POLISH / INTERACTIONS
================================= */

.service-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.6);
}

.card-grid--4 .card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.card-grid--4 .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.45);
}

.process-card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.45);
}

.hero-media,
.hero-image,
.hero-visual,
.hero-right {
  position: relative;
  isolation: isolate;
}

.hero-media::before,
.hero-image::before,
.hero-visual::before,
.hero-right::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.22) 0%,
    rgba(212, 175, 55, 0.1) 35%,
    rgba(212, 175, 55, 0) 72%
  );
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}

.hero-media img,
.hero-image img,
.hero-visual img,
.hero-right img {
  animation: demiurgeFloat 4.8s ease-in-out infinite;
  filter: drop-shadow(0 0 26px rgba(212, 175, 55, 0.18));
}

@keyframes demiurgeFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Buttons */
.button,
.button--gold,
.button--ghost,
.button--outline {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}
.button:hover,
.button--gold:hover,
.button--ghost:hover,
.button--outline:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 0 18px rgba(212, 175, 55, 0.28);
}
/* Footer CTA glow specifically */
.cta-band .button,
.cta-band__inner .button,
.cta-band .button--gold,
.cta-band__inner .button--gold {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.cta-band .button:hover,
.cta-band__inner .button:hover,
.cta-band .button--gold:hover,
.cta-band__inner .button--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.38),
    0 0 22px rgba(212, 175, 55, 0.3);
}

/* Footer links */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: #d6d0c4;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links a:hover {
  color: #d4af37;
  transform: translateX(3px);
}

/* =================================
   BOTTOM CTA BUTTON GLOW
================================= */

.cta-band .button:hover,
.cta-band__inner .button:hover,
.cta-band .button--gold:hover,
.cta-band__inner .button--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.42),
    0 0 26px rgba(212, 175, 55, 0.34);
}

/* =================================
   CLEAN NAV SYSTEM
================================= */
.primary-menu .sub-menu a {
  position: relative;
}

.primary-menu .sub-menu a::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.45rem;
  width: auto;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.primary-menu .sub-menu a:hover::after,
.primary-menu .sub-menu .current-menu-item > a::after {
  transform: scaleX(1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(6, 9, 16, 0.88);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 92px;
}

.brand__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.brand__logo {
  width: 62px;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.15));
}

.brand__text-wrap {
  display: flex;
  flex-direction: column;
}

.brand__title {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}

.brand__subtitle {
  text-transform: uppercase;
  letter-spacing: 0.21em;
  font-size: 0.78rem;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.primary-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.primary-menu > li {
  position: relative;
}

.primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  position: relative;
  color: #f7f1e7;
}

.primary-menu > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.45rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  transition: width 0.45s ease;
}

.primary-menu > li > a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current-menu-ancestor > a::after {
  width: 100%;
}

.primary-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0;
  min-width: 240px;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  background: rgba(10, 13, 22, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 0 0 14px 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.28s ease;
  z-index: 1001;
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu a {
  display: block;
  padding: 0.8rem 1rem;
  min-height: auto;
}

.primary-menu .sub-menu li + li {
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.primary-menu .menu-item-has-children > a {
  padding-right: 0.9rem;
}

.primary-menu .menu-item-has-children > a::before {
  content: '▾';
  position: absolute;
  right: -0.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: var(--gold-soft);
}

.nav-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem;
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-soft);
  margin: 4px 0;
}
@media (max-width: 860px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 2000;
  }

  .site-header__inner {
    position: relative;
  }

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

  .primary-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(8, 11, 18, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index: 3000;
  }

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

  .primary-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .primary-menu > li {
    width: 100%;
  }

  .primary-menu > li > a {
    display: block;
    width: 100%;
    padding: 0.9rem 0.25rem;
    min-height: auto;
  }

  .primary-menu .sub-menu {
    display: none;
    position: static;
    min-width: 100%;
    margin-top: 0.35rem;
    padding: 0.35rem 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    box-shadow: none;
  }

  .primary-menu .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  .nav-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 0.75rem;
  }
}
