:root {
  color-scheme: dark;
  --bg: #050608;
  --panel: #10141b;
  --panel-strong: #151b24;
  --text: #f6f1e8;
  --muted: #aab1bd;
  --gold: #e3b75c;
  --cyan: #44d6dd;
  --coral: #ff6f61;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 6, 8, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.hero-metrics,
.project-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(227, 183, 92, 0.65);
  background: linear-gradient(135deg, rgba(227, 183, 92, 0.22), rgba(68, 214, 221, 0.08));
  color: var(--gold);
  font-size: 0.88rem;
  border-radius: 8px;
  box-shadow: 0 0 32px rgba(227, 183, 92, 0.16);
}

.nav-links {
  gap: clamp(16px, 2vw, 30px);
  color: rgba(246, 241, 232, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a,
.nav-cta {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(227, 183, 92, 0.45);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 700;
}

.nav-cta:hover {
  background: rgba(227, 183, 92, 0.12);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 126px clamp(20px, 6vw, 92px) 76px;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center right;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 72% 45%, rgba(68, 214, 221, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.78) 42%, rgba(5, 6, 8, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.32), #050608 96%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 8vw, 7.7rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 680px;
  color: rgba(246, 241, 232, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--gold), #ffe0a4);
  color: #14100a;
  box-shadow: 0 18px 50px rgba(227, 183, 92, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 54px;
}

.hero-metrics div {
  min-width: 150px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 14, 20, 0.6);
  backdrop-filter: blur(14px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 1.08rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 92px);
}

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

.section-heading h2,
.experience-panel h2,
.contact-content h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1.04;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(227, 183, 92, 0.08), transparent 38%),
    #080a0d;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.service-grid,
.project-grid,
.process-row {
  display: grid;
  gap: 18px;
}

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

.service-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 250px;
  padding: 26px;
}

.card-index,
.project-type {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card h3,
.project-card h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
}

.service-card p,
.project-card p,
.timeline-item p,
.process-row p,
.contact-content p {
  color: var(--muted);
  line-height: 1.7;
}

.work-section {
  background: #07090d;
}

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

.project-card {
  min-height: 292px;
  padding: 26px;
  overflow: hidden;
}

.project-card.featured {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top right, rgba(68, 214, 221, 0.15), transparent 42%),
    linear-gradient(135deg, rgba(227, 183, 92, 0.14), rgba(255, 255, 255, 0.04));
}

.project-preview {
  position: relative;
  height: 164px;
  margin: -8px -8px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #0c1017;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.project-card.featured .project-preview {
  height: 224px;
}

.project-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(180deg, transparent 62%, rgba(5, 6, 8, 0.42));
}

.preview-topbar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 8, 0.56);
}

.preview-topbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
}

.preview-topbar span:first-child {
  background: var(--coral);
}

.preview-topbar span:nth-child(2) {
  background: var(--gold);
}

.preview-topbar span:nth-child(3) {
  background: var(--cyan);
}

.preview-body {
  position: relative;
  height: calc(100% - 28px);
  padding: 18px;
}

.preview-stat {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(227, 183, 92, 0.16);
  color: #ffe0a4;
  font-weight: 800;
}

.preview-lines {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.preview-lines span,
.preview-headline {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.preview-lines span:nth-child(2) {
  width: 74%;
}

.preview-lines span:nth-child(3) {
  width: 52%;
}

.preview-pill {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(68, 214, 221, 0.18);
  color: #b8fbff;
  font-size: 0.75rem;
  font-weight: 800;
}

.preview-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
}

.preview-grid-mini,
.preview-table,
.preview-news-grid {
  display: grid;
  gap: 8px;
}

.preview-grid-mini {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.preview-grid-mini span,
.preview-news-grid span {
  min-height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
}

.preview-landscape,
.preview-mountain,
.preview-stage {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 74px;
  border-radius: 8px;
}

.preview-landscape {
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.64) 0 10px, transparent 11px),
    linear-gradient(145deg, transparent 52%, rgba(42, 184, 112, 0.78) 53%),
    linear-gradient(35deg, rgba(20, 105, 65, 0.9) 42%, rgba(92, 207, 138, 0.9) 43%);
}

.preview-table {
  grid-template-columns: 1fr 1fr;
}

.preview-table span {
  min-height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
}

.preview-mountain {
  background:
    linear-gradient(135deg, transparent 44%, rgba(255, 255, 255, 0.62) 45% 48%, transparent 49%),
    linear-gradient(32deg, #1d5861 43%, transparent 44%),
    linear-gradient(145deg, transparent 48%, #2f845e 49%);
}

.preview-headline {
  width: 64%;
  height: 14px;
  margin-bottom: 16px;
}

.preview-news-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.preview-news-grid span:first-child {
  grid-row: span 2;
  min-height: 74px;
}

.preview-stage {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 111, 97, 0.7), transparent 26%),
    linear-gradient(135deg, rgba(227, 183, 92, 0.76), transparent 34%),
    linear-gradient(215deg, rgba(68, 214, 221, 0.58), transparent 40%),
    rgba(255, 255, 255, 0.08);
}

.preview-token {
  background:
    radial-gradient(circle at 80% 15%, rgba(68, 214, 221, 0.32), transparent 32%),
    linear-gradient(135deg, rgba(227, 183, 92, 0.24), rgba(12, 16, 23, 0.9));
}

.preview-health {
  background: linear-gradient(135deg, rgba(68, 214, 221, 0.2), rgba(10, 45, 47, 0.9));
}

.preview-school {
  background: linear-gradient(135deg, rgba(227, 183, 92, 0.24), rgba(68, 96, 132, 0.46));
}

.preview-green {
  background: linear-gradient(135deg, rgba(34, 135, 84, 0.44), rgba(8, 14, 12, 0.92));
}

.preview-asset {
  background: linear-gradient(135deg, rgba(68, 214, 221, 0.15), rgba(227, 183, 92, 0.08));
}

.preview-trek {
  background: linear-gradient(135deg, rgba(54, 104, 99, 0.44), rgba(12, 16, 23, 0.94));
}

.preview-news {
  background: linear-gradient(135deg, rgba(255, 111, 97, 0.22), rgba(18, 22, 30, 0.94));
}

.preview-entertainment {
  background: linear-gradient(135deg, rgba(227, 183, 92, 0.16), rgba(138, 55, 97, 0.34));
}

.project-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--gold);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.project-links {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.experience-section {
  background:
    linear-gradient(120deg, rgba(68, 214, 221, 0.07), transparent 30%),
    linear-gradient(270deg, rgba(255, 111, 97, 0.08), transparent 32%),
    var(--bg);
}

.experience-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.timeline {
  display: grid;
  gap: 22px;
}

.timeline-item {
  position: relative;
  padding-left: 26px;
  border-left: 1px solid rgba(227, 183, 92, 0.35);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(227, 183, 92, 0.8);
}

.timeline-item span,
.process-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 800;
}

.process-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: process;
}

.process-row div {
  min-height: 192px;
  padding: 24px;
  border-top: 1px solid rgba(227, 183, 92, 0.44);
  background: rgba(255, 255, 255, 0.035);
}

.process-row div::before {
  counter-increment: process;
  content: "0" counter(process);
  display: block;
  margin-bottom: 26px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-section {
  padding: clamp(74px, 10vw, 132px) clamp(20px, 6vw, 92px);
  background:
    linear-gradient(120deg, rgba(227, 183, 92, 0.18), transparent 32%),
    radial-gradient(circle at 82% 20%, rgba(68, 214, 221, 0.18), transparent 30%),
    #090c11;
}

.contact-content {
  max-width: 780px;
}

.contact-content p {
  max-width: 560px;
  margin: 22px 0 28px;
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .service-grid,
  .process-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 10px 14px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 6, 8, 0.72), rgba(5, 6, 8, 0.96)),
      linear-gradient(90deg, rgba(5, 6, 8, 0.86), rgba(5, 6, 8, 0.52));
  }

  .intro-section,
  .experience-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

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

  .hero-metrics,
  .hero-metrics div {
    width: 100%;
  }

  .service-grid,
  .project-grid,
  .process-row {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: auto;
  }

  .service-card,
  .project-card,
  .experience-panel {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
