@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #f5f4ef;
  --muted: #a5a6b0;
  --line: rgba(255, 255, 255, 0.12);
  --background: #0b1020;
  --surface: #12182a;
  --surface-soft: #171e32;
  --accent: #d7f36b;
  --accent-dark: #1b2611;
  --purple: #8175ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.page-shell { overflow: hidden; background: radial-gradient(circle at 80% 5%, rgba(77, 65, 160, 0.16), transparent 29rem), var(--background); }

.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 19px 'Space Grotesk', sans-serif; letter-spacing: -0.05em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; color: var(--background); background: var(--accent); border-radius: 9px; font-size: 17px; font-weight: 700; }
.brand-dot { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 34px; color: var(--muted); font-size: 13px; font-weight: 500; }
.main-nav a { transition: color 180ms ease; }
.main-nav a:hover, .footer-links a:hover { color: var(--accent); }
.nav-contact { color: var(--ink) !important; padding: 11px 16px; border: 1px solid var(--line); border-radius: 100px; }
.nav-contact span { color: var(--accent); margin-left: 6px; }

.hero { min-height: 605px; display: grid; grid-template-columns: 1.04fr 0.96fr; align-items: center; gap: 70px; position: relative; }
.hero-copy { padding: 75px 0 70px; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.14em; font-size: 10px; font-weight: 700; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(215, 243, 107, 0.13); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.065em; }
h1 { max-width: 660px; margin-bottom: 25px; font-size: clamp(51px, 6.4vw, 86px); line-height: 0.98; font-weight: 600; }
h1 em, .cta-section h2 em { color: var(--accent); font-style: normal; }
.hero-text { max-width: 430px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 37px; }
.button { display: inline-flex; align-items: center; gap: 20px; border-radius: 100px; padding: 15px 21px; font-size: 13px; font-weight: 700; transition: transform 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--accent-dark); background: var(--accent); }
.button-primary:hover { background: #e0fb7f; }
.button-light { color: var(--background); background: var(--accent); }
.text-link { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 5px; font-size: 13px; }
.text-link span, .project-link span { color: var(--accent); margin-left: 6px; }

.hero-orbit { width: min(100%, 470px); height: 410px; position: relative; justify-self: end; }
.orbit { position: absolute; border: 1px solid rgba(129, 117, 255, 0.42); border-radius: 50%; transform: rotate(-24deg); }
.orbit-large { width: 375px; height: 375px; left: 45px; top: 15px; }
.orbit-large::before, .orbit-small::before { content: ''; display: block; position: absolute; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 25px 8px rgba(215, 243, 107, 0.22); }
.orbit-large::before { left: 29px; top: 42px; }
.orbit-small { width: 246px; height: 246px; left: 112px; top: 79px; border-color: rgba(215, 243, 107, 0.34); transform: rotate(38deg); }
.orbit-small::before { width: 8px; height: 8px; right: 27px; top: 39px; background: var(--purple); box-shadow: 0 0 24px 8px rgba(129, 117, 255, 0.34); }
.orbit-core { position: absolute; left: calc(50% - 44px); top: calc(50% - 38px); display: grid; place-items: center; width: 88px; height: 76px; color: var(--background); background: var(--accent); border-radius: 29px 29px 29px 7px; transform: rotate(-12deg); box-shadow: 0 18px 55px rgba(215, 243, 107, 0.17); }
.orbit-core span { font: 600 47px 'Space Grotesk', sans-serif; transform: rotate(12deg); letter-spacing: -0.1em; }
.floating-label { position: absolute; padding: 8px 12px; color: var(--muted); background: rgba(18, 24, 42, 0.86); border: 1px solid var(--line); border-radius: 6px; font-size: 10px; letter-spacing: 0.04em; }
.label-one { left: 3px; top: 78px; transform: rotate(-8deg); }
.label-two { right: 0; bottom: 45px; transform: rotate(7deg); }
.floating-star { position: absolute; color: var(--accent); font-size: 18px; }
.star-one { right: 35px; top: 35px; }
.star-two { left: 52px; bottom: 45px; color: var(--purple); font-size: 13px; }

.project-section { padding: 105px 0 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 54px; }
.section-heading .eyebrow { margin-bottom: 18px; }
h2 { margin-bottom: 0; font-size: clamp(38px, 4.8vw, 61px); line-height: 1.03; font-weight: 500; }
h2 span { color: var(--muted); }
.section-intro { max-width: 285px; margin-bottom: 5px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.project-categories { display: flex; flex-wrap: wrap; gap: 12px; margin: -20px 0 82px; }
.project-categories a { display: inline-flex; align-items: center; gap: 18px; padding: 13px 16px; color: var(--ink); background: var(--surface-soft); border: 1px solid rgba(255,255,255,0.08); border-radius: 7px; font-size: 12px; font-weight: 600; transition: color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.project-categories a:hover, .project-categories a:focus-visible { color: var(--accent); border-color: rgba(215, 243, 107, 0.5); transform: translateY(-2px); }
.project-categories a span { color: var(--accent); font-size: 15px; }
.project-category + .project-category { margin-top: 118px; }
.category-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.category-heading h3 { margin: 0; font-size: clamp(27px, 3vw, 38px); font-weight: 500; }
.category-heading p { max-width: 420px; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.project-category .project-grid { margin-top: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; transition: border-color 220ms ease, transform 220ms ease; }
.project-card:hover { border-color: rgba(215, 243, 107, 0.45); transform: translateY(-4px); }
.project-preview { display: block; height: 190px; position: relative; overflow: hidden; background: #202940; }
.project-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(11, 16, 32, 0.75)); pointer-events: none; }
.project-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 400ms ease; }
.project-card:hover .project-preview img { transform: scale(1.04); }
.preview-overlay { position: absolute; right: 14px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(5px); transition: opacity 180ms ease, transform 180ms ease; }
.project-card:hover .preview-overlay { opacity: 1; transform: translateY(0); }
.preview-overlay span { color: var(--accent); font-size: 15px; }
.project-info { padding: 19px 20px 21px; }
.project-number { margin-bottom: 9px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; font-size: 9px; font-weight: 700; }
.project-info h3 { margin-bottom: 8px; font-size: 24px; font-weight: 500; }
.project-description { min-height: 63px; margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.project-meta span { padding: 5px 8px; color: #c8cad2; background: var(--surface-soft); border-radius: 4px; font-size: 10px; }
.project-link { display: inline-flex; align-items: center; color: var(--ink); font-size: 12px; font-weight: 600; }
.project-link:hover { color: var(--accent); }

@media (min-width: 801px) and (max-width: 1050px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-preview { height: 220px; }
}

.about-section { display: grid; grid-template-columns: 0.2fr 1fr 0.95fr; align-items: start; gap: 36px; padding: 101px 0 110px; border-top: 1px solid var(--line); }
.about-mark { color: var(--accent); font-size: 29px; line-height: 1; }
.about-section .eyebrow { margin-bottom: 18px; }
.about-section h2 { font-size: clamp(34px, 4vw, 51px); }
.about-text { max-width: 340px; margin: 35px 0 0 auto; color: var(--muted); font-size: 14px; line-height: 1.75; }
.cta-section { position: relative; padding: 96px 0 110px; text-align: center; border-top: 1px solid var(--line); }
.cta-section::before { content: '✦'; position: absolute; top: 81px; left: 19%; color: var(--purple); font-size: 17px; }
.cta-section::after { content: '✦'; position: absolute; right: 18%; bottom: 113px; color: var(--accent); font-size: 12px; }
.cta-section .eyebrow { justify-content: center; }
.cta-section h2 { max-width: 700px; margin: 0 auto 34px; font-size: clamp(43px, 5vw, 67px); }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 84px; border-top: 1px solid var(--line); color: #737787; font-size: 11px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 25px; }

@media (max-width: 800px) {
  .container { width: min(100% - 40px, 600px); }
  .site-header { min-height: 76px; }
  .main-nav { gap: 16px; }
  .main-nav > a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 9px 12px; }
  .hero { display: block; min-height: auto; }
  .hero-copy { padding: 88px 0 40px; }
  .hero-orbit { width: 100%; max-width: 430px; height: 330px; margin: 8px auto 55px; transform: scale(0.82); transform-origin: center; }
  .section-heading { display: block; margin-bottom: 35px; }
  .project-categories { margin: -8px 0 58px; gap: 9px; }
  .project-categories a { flex: 1 1 190px; justify-content: space-between; }
  .project-category + .project-category { margin-top: 76px; }
  .category-heading { display: block; margin-bottom: 25px; }
  .category-heading p { margin-top: 12px; }
  .section-intro { margin-top: 23px; }
  .project-section { padding: 70px 0 75px; }
  .project-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-preview { height: min(56vw, 310px); }
  .about-section { grid-template-columns: 1fr; gap: 18px; padding: 70px 0 75px; }
  .about-mark { order: -1; }
  .about-text { max-width: none; margin: 15px 0 0; }
  .cta-section { padding: 76px 0 90px; }
  .cta-section::before { left: 5%; top: 61px; }
  .cta-section::after { right: 7%; bottom: 91px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 15px; padding: 23px 0; }
}

@media (max-width: 450px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 48px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-orbit { margin-top: -3px; margin-bottom: 25px; transform: scale(0.69); }
  .project-info { padding: 21px 19px 23px; }
  .project-description { min-height: 0; }
  .footer-links { gap: 16px; }
}
