/* SIRIUS — Main Website Stylesheet (css/main.css) */
:root {
  --black: #080808;
  --white: #f3f3f0;
  --muted: #888;
  --line: rgba(255, 255, 255, 0.16);
  --mono: 'Poppins', Arial, sans-serif;
  --sans: 'Poppins', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(1360px, calc(100% - 96px));
  margin: auto;
}

.eyebrow {
  font: 11px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #aaa;
}

/* Top Navigation */
.topbar {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
  background: linear-gradient(#080808aa, transparent);
}

.topbar.scrolled {
  height: 68px;
  border-color: var(--line);
  background: #080808e8;
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 300;
  font-size: 16px;
}

.logo-mark {
  width: 29px;
  height: 29px;
  color: #f3f3f0;
}

.logo-word {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.30em;
  color: #f3f3f0;
}

.logo-reg {
  font: 9px var(--mono);
  color: #888;
  align-self: flex-start;
  margin: 1px 0 0 -10px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 34px;
}

.navlinks a {
  font: 10px var(--mono);
  letter-spacing: 0.13em;
  color: #c6c6c6;
  transition: color 0.2s;
}

.navlinks a:hover,
.navlinks a.active-hash {
  color: white;
}

.nav-contact {
  border: 1px solid #ffffff55;
  padding: 12px 16px;
}

.menu {
  display: none;
  background: none;
  border: 0;
  color: white;
  font: 10px var(--mono);
  letter-spacing: 0.1em;
}

/* Hero Section */
.hero {
  height: 100svh;
  min-height: 680px;
  max-height: 1080px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1605360846282-023d330bad8d?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center 48%;
  filter: grayscale(1) brightness(0.62) contrast(1.1);
  transform: scale(1.015);
}

.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #080808 0%, #080808e8 24%, transparent 70%),
              linear-gradient(0deg, #080808 0%, transparent 30%);
  pointer-events: none;
}

.hero-canvas {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-kicker:before {
  content: '';
  width: 32px;
  height: 1px;
  background: #ddd;
}

.hero h1 {
  font-size: clamp(58px, 9.5vw, 142px);
  line-height: 0.92;
  letter-spacing: 0.025em;
  font-weight: 300;
  margin: 0;
  max-width: 1050px;
}

.hero h1 span {
  display: block;
  color: #8c8c8c;
  letter-spacing: 0.045em;
}

.hero-copy {
  font-size: 15px;
  line-height: 1.8;
  color: #b8b8b8;
  max-width: 390px;
  margin: 32px 0;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  font: 10px var(--mono);
  letter-spacing: 0.1em;
  padding: 16px 20px;
  border: 1px solid #eeeeee;
  background: #eee;
  color: #111;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  transition: 0.25s;
  cursor: pointer;
}

.btn:hover {
  background: white;
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: #eee;
  border-color: #ffffff55;
}

.btn.ghost:hover {
  background: #ffffff14;
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 40px;
  font: 10px var(--mono);
  letter-spacing: 0.13em;
  color: #aaa;
}

.hero-index b {
  color: white;
  font-weight: 400;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 48px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #999;
  font: 9px var(--mono);
  letter-spacing: 0.15em;
}

.scroll-cue:before {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(transparent, #fff);
}

/* Sections */
section {
  padding: 140px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 80px;
}

.section-head h2 {
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 300;
  margin: 0;
  max-width: 800px;
}

.section-head h2 em {
  font-style: normal;
  color: #777;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10%;
  align-items: end;
}

.about-art {
  height: 500px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #171817, #080808 74%);
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=85");
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.08);
  border: 1px solid #ffffff16;
}

.about-art:before {
  content: '';
  position: absolute;
  inset: 12% 9%;
  background: repeating-linear-gradient(0deg, transparent 0 29px, #bdbdbd35 30px, #bdbdbd35 31px),
              repeating-linear-gradient(90deg, transparent 0 54px, #bdbdbd32 55px, #bdbdbd32 56px);
  transform: perspective(600px) rotateX(54deg) rotateZ(-17deg);
  box-shadow: 0 35px 70px #000;
}

.about-art:after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #eee, transparent);
  box-shadow: 0 0 28px #fff8;
}

.art-label {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  color: #aaa;
}

.about-copy {
  padding-bottom: 8px;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.8;
  color: #b4b4b4;
  max-width: 470px;
  margin: 0 0 26px;
}

.text-link {
  font: 10px var(--mono);
  letter-spacing: 0.1em;
  display: inline-flex;
  gap: 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid #aaa;
}

/* Expanded Capabilities / Services Section */
.services {
  border-top: 1px solid var(--line);
}

.services-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 62px;
}

.services-title h2,
.work-title h2,
.contact h2 {
  font-size: clamp(54px, 8vw, 112px);
  letter-spacing: -0.08em;
  line-height: 0.9;
  font-weight: 400;
  margin: 18px 0 0;
}

.services-title p {
  font-size: 13px;
  line-height: 1.7;
  color: #999;
  max-width: 280px;
  margin: 0 0 8px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s;
  position: relative;
  overflow: hidden;
  padding: 28px 0;
}

.service:hover,
.service.is-expanded {
  background: linear-gradient(90deg, #ffffff09, transparent);
}

.service-main {
  display: grid;
  grid-template-columns: 65px 1.05fr 1.15fr 110px;
  gap: 25px;
  align-items: center;
  cursor: pointer;
}

.service-no {
  font: 11px var(--mono);
  color: #777;
  letter-spacing: 0.1em;
}

.service h3 {
  font-weight: 400;
  font-size: clamp(21px, 2.6vw, 34px);
  letter-spacing: -0.05em;
  margin: 0;
}

.service-summary {
  color: #a6a6a2;
  font-size: 13px;
  line-height: 1.65;
  max-width: 440px;
  margin: 0;
}

.service-symbol-wrap {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-toggle-label {
  font: 9px var(--mono);
  letter-spacing: 0.14em;
  color: #888;
  text-transform: uppercase;
}

.service-symbol {
  width: 52px;
  height: 52px;
  border: 1px solid #ffffff44;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  transition: transform 0.35s, border-color 0.35s;
}

.service.is-expanded .service-symbol {
  transform: rotate(45deg);
  border-color: #fff;
}

.service-symbol:before,
.service-symbol:after {
  content: '';
  position: absolute;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.service:nth-child(2n) .service-symbol:after {
  width: 38px;
  height: 12px;
  transform: rotate(-40deg);
}

.service:nth-child(3n) .service-symbol:before {
  border-radius: 0;
  transform: rotate(45deg);
}

.service-details {
  display: none;
  grid-template-columns: 65px 1.05fr 1.15fr 110px;
  gap: 25px;
  padding-top: 26px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.service.is-expanded .service-details {
  display: grid;
}

.service-details-copy {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.8;
  color: #b8b8b4;
  margin: 0;
  padding-right: 16px;
}

.service-deliverables {
  grid-column: 3;
}

.service-deliverables-title {
  font: 9px var(--mono);
  letter-spacing: 0.14em;
  color: #888;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.service-tag {
  font: 10px var(--mono);
  letter-spacing: 0.08em;
  color: #dededa;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 11px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
}

/* Projects / Work */
.work {
  border-top: 1px solid var(--line);
}

.work-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 60px;
}

.work-title p {
  max-width: 230px;
  font-size: 12px;
  line-height: 1.7;
  color: #999;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 78px 28px;
}

.project:nth-child(2) {
  margin-top: 140px;
}

.project:nth-child(3) {
  margin-top: -70px;
}

.project-visual {
  height: clamp(280px, 39vw, 520px);
  position: relative;
  overflow: hidden;
  background: #111;
  border: 1px solid #ffffff14;
  filter: grayscale(1) contrast(1.06);
  background-size: cover;
  background-position: center;
}

.project-visual:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #05050555, transparent 45%);
}

.visual-infra {
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=85");
}

.visual-aerial {
  background-image: url("https://images.unsplash.com/photo-1544197150-b99a580bb7a8?auto=format&fit=crop&w=1600&q=85");
}

.visual-secure {
  background-image: url("https://images.unsplash.com/photo-1605360846282-023d330bad8d?auto=format&fit=crop&w=1600&q=85");
}

.visual-vision {
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=85");
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-top: 17px;
}

.project-meta h3 {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0 0 7px;
}

.project-meta p {
  font: 9px var(--mono);
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.project-meta span {
  font: 10px var(--mono);
  color: #aaa;
}

/* Manifesto */
.manifesto {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0;
}

.manifesto p {
  font-size: clamp(30px, 5.7vw, 76px);
  letter-spacing: -0.01em;
  font-weight: 300;
  line-height: 1.12;
  max-width: 1100px;
  margin: 0;
}

.manifesto p span {
  color: #777;
}

/* Contact Section */
.contact {
  padding-bottom: 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8%;
  margin-top: 70px;
}

.contact-intro p {
  color: #aaa;
  line-height: 1.8;
  font-size: 14px;
  max-width: 390px;
}

.contact-channels {
  margin-top: 28px;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.contact-channel span {
  display: block;
  font: 9px var(--mono);
  letter-spacing: 0.14em;
  color: #777;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-channel a,
.contact-channel strong {
  font-size: 15px;
  font-weight: 400;
  color: #f3f3f0;
}

.email-link {
  display: inline-block;
  font-size: 18px;
  border-bottom: 1px solid #888;
  padding-bottom: 6px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  color: #aaa;
}

.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ffffff44;
  padding: 12px 0;
  color: white;
  outline: 0;
  border-radius: 0;
}

.field select option {
  background: #111;
  color: #f3f3f0;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 82px;
}

.form button {
  grid-column: 1 / -1;
  justify-self: start;
  cursor: pointer;
}

.form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-privacy {
  grid-column: 1 / -1;
  font: 10px var(--mono);
  color: #888;
  line-height: 1.6;
  margin: 0;
}

.form-privacy a {
  color: #ccc;
  border-bottom: 1px solid #666;
}

.form-status {
  grid-column: 1 / -1;
  color: #bbb;
  font: 11px var(--mono);
  min-height: 18px;
  line-height: 1.6;
}

.form-status.is-success {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 18px;
  color: #f3f3f0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer p,
.footer a {
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  color: #888;
}

.footer a:hover {
  color: #fff;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .topbar {
    height: 66px;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    padding: 24px 20px 30px;
    background: #080808f5;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .navlinks.open {
    display: flex;
  }
  .menu {
    display: block;
  }
  .hero {
    min-height: 650px;
  }
  .hero:after {
    background: linear-gradient(90deg, #080808d9, transparent),
                linear-gradient(0deg, #080808, transparent 60%);
  }
  .hero-content {
    padding-top: 40px;
  }
  .hero h1 {
    font-size: clamp(48px, 12.5vw, 92px);
    letter-spacing: 0.02em;
  }
  .hero-copy {
    font-size: 13px;
    max-width: 310px;
  }
  .hero-index {
    right: 20px;
    bottom: 25px;
  }
  .scroll-cue {
    left: 20px;
    bottom: 22px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .btn {
    padding: 14px 15px;
  }
  section {
    padding: 95px 0;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 45px;
  }
  .section-head h2 {
    font-size: clamp(49px, 13vw, 82px);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-art {
    height: 360px;
  }
  .about-copy p {
    font-size: 15px;
  }
  .services-title {
    display: block;
    margin-bottom: 40px;
  }
  .services-title p {
    margin-top: 25px;
  }
  .service-main {
    grid-template-columns: 35px 1fr 48px;
    gap: 12px;
  }
  .service h3 {
    font-size: 21px;
  }
  .service-summary {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
  }
  .service-symbol-wrap {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  .service-toggle-label {
    display: none;
  }
  .service-symbol {
    width: 40px;
    height: 40px;
  }
  .service-details {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 47px;
  }
  .service-details-copy,
  .service-deliverables {
    grid-column: 1;
  }
  .work-title {
    display: block;
  }
  .work-title p {
    margin-top: 24px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .project:nth-child(2),
  .project:nth-child(3) {
    margin-top: 0;
  }
  .project-visual {
    height: 75vw;
    max-height: 430px;
  }
  .project-meta h3 {
    font-size: 18px;
  }
  .manifesto {
    padding: 75px 0;
  }
  .manifesto p {
    font-size: clamp(32px, 8.5vw, 54px);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 42px;
  }
  .form {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-inner {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }
  .social {
    gap: 18px;
  }
}

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

