:root {
  --bg: #0b101b;
  --bg-soft: #353f4d;
  --bg-blue: #12369b;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-light: rgba(255, 255, 255, 0.92);
  --panel-blue: rgba(10, 47, 145, 0.84);
  --line: rgba(255, 255, 255, 0.22);
  --line-soft: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-dark: #0a2d90;
  --muted: #b7ebff;
  --accent: #59c0ff;
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --shadow: 0 18px 44px rgba(0, 40, 133, 0.18);
  --shadow-soft: 0 10px 28px rgba(89, 192, 255, 0.16);
  --max-width: 84rem;
  --font-primary: "futura-pt", "montserrat", "Avenir Next", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-primary);
  background:
    radial-gradient(circle at 10% 0%, rgba(89, 192, 255, 0.12), transparent 24%),
    radial-gradient(circle at 100% 10%, rgba(89, 192, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #0b101b 0%, #0a101c 100%);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header,
.site-footer,
section {
  padding: 1rem 0;
}

.nav-shell,
.hero-shell,
.section-shell,
.footer-shell,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.nav-shell,
.footer-shell,
.hero-shell,
.hero-panel,
.section-shell {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(183, 235, 255, 0.05)),
    rgba(53, 63, 77, 0.94);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.brand-text {
  width: clamp(12rem, 26vw, 28rem);
  flex: 0 1 auto;
}

.brand-icon {
  width: clamp(4.5rem, 10vw, 9rem);
  padding: 0.8rem;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), var(--shadow-soft);
  animation: float-logo 4s ease-in-out infinite;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.25rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--accent);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.menu-toggle span {
  width: 1.35rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero-shell {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.hero-copy {
  max-width: 72rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
}

.eyebrow-blue {
  color: var(--accent);
}

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

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

h1,
h2,
h3 {
  line-height: 0.95;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-body,
.about-copy p,
.timeline-panel p,
.service-card p,
.step-card p,
.portfolio-card p,
.contact-panel p,
.contact-form label span,
.contact-form input,
.contact-form textarea,
.placeholder-note {
  line-height: 1.7;
}

.hero-body,
.about-copy p,
.contact-panel p,
.portfolio-card p,
.service-card p,
.step-card p {
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--text);
  background: linear-gradient(135deg, #0d3cad, #002885);
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.96);
}

.section-shell,
.hero-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.section-shell-light {
  background:
    radial-gradient(circle at 50% 0%, rgba(89, 192, 255, 0.25), transparent 42%),
    rgba(255, 255, 255, 0.97);
  color: var(--text-dark);
}

.section-shell-light .section-heading h2,
.section-shell-light .service-card,
.section-shell-light .service-card h3,
.section-shell-light .service-card p {
  color: var(--text-dark);
}

.section-shell-blue {
  background:
    radial-gradient(circle at 50% 0%, rgba(89, 192, 255, 0.22), transparent 48%),
    #12369b;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

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

.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(183, 235, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.glass-card::before,
.nav-shell::before,
.hero-shell::before,
.section-shell::before,
.footer-shell::before,
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.glass-card-dark {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(89, 192, 255, 0.06)),
    rgba(20, 42, 100, 0.62);
}

.service-card,
.step-card,
.portfolio-card,
.contact-panel {
  padding: 1.5rem;
}

.service-badge,
.timeline-week,
.filter-chip,
.card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.service-badge,
.card-chip {
  background: rgba(89, 192, 255, 0.2);
  color: var(--text-dark);
}

.service-card h3,
.step-card h3,
.portfolio-card h2,
.contact-form h1,
.timeline-title,
.contact-panel h2,
.footer-cta h2 {
  margin-top: 0.9rem;
}

.about-grid,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.about-grid {
  grid-template-columns: 1.3fr 0.9fr;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.profile-visual {
  padding: 1rem;
}

.profile-visual img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 0.4rem);
  margin-bottom: 1rem;
}

.placeholder-note {
  font-size: 0.95rem;
  color: var(--muted);
}

.timeline-list {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
}

.timeline-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  text-align: left;
}

.timeline-week {
  color: var(--text);
  background: var(--bg-blue);
}

.timeline-title {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.timeline-panel {
  padding: 0 1.2rem 1.2rem 6.55rem;
  color: #273653;
}

.timeline-item:not(.is-open) .timeline-panel {
  display: none;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.filter-chip {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.filter-chip.is-active,
.filter-chip:hover {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
}

.portfolio-card {
  padding: 0;
}

.portfolio-trigger {
  width: 100%;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  text-align: left;
  color: inherit;
}

.portfolio-trigger img {
  width: 100%;
  border-radius: 1.25rem;
}

.portfolio-image {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.portfolio-image--billboard {
  object-position: center 42%;
}

.portfolio-image--diamonds {
  object-position: center 32%;
}

.portfolio-image--logo {
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.3), rgba(183, 235, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
}

.portfolio-grid.is-filtering .portfolio-card {
  transition: opacity 180ms ease, transform 180ms ease;
}

.portfolio-card.is-hidden {
  opacity: 0.18;
  pointer-events: none;
  transform: scale(0.98);
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 40;
}

.portfolio-modal.is-open {
  display: grid;
}

.portfolio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 22, 0.72);
  backdrop-filter: blur(10px);
}

.portfolio-modal__panel {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 52rem);
  padding: 1.5rem;
}

.portfolio-modal__panel img {
  width: 100%;
  max-height: min(68vh, 42rem);
  object-fit: contain;
  object-position: center;
  border-radius: 1.25rem;
  margin-bottom: 1rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(183, 235, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  padding: 0.75rem;
}

.portfolio-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.85fr);
}

.contact-form {
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(228, 244, 255, 0.96));
  color: var(--text-dark);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-form label span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 40, 133, 0.08);
  border-radius: 1rem;
  background: #a9daf2;
  color: var(--text-dark);
  padding: 1rem;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(89, 192, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(89, 192, 255, 0.2);
}

.contact-sidebar {
  display: grid;
  gap: 1rem;
}

.contact-panel-primary {
  background:
    linear-gradient(160deg, rgba(10, 47, 145, 0.95), rgba(10, 47, 145, 0.9));
}

.contact-panel-light {
  color: var(--text-dark);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(183, 235, 255, 0.95));
}

.contact-panel-light p,
.contact-panel-light h2,
.contact-panel-light .eyebrow {
  color: var(--text-dark);
}

.contact-panel a {
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
}

.form-feedback {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--text-dark);
}

.site-footer {
  padding-bottom: 2rem;
}

.footer-shell {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.72fr;
  padding: 1rem;
}

.footer-cta,
.footer-contact {
  padding: 1.5rem;
}

.footer-contact {
  display: grid;
  align-content: center;
  gap: 0.65rem;
}

.footer-contact a {
  color: var(--accent);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-logo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 68rem) {
  .three-up,
  .about-grid,
  .contact-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .brand-text {
    width: min(18rem, 54vw);
  }

  .brand-icon {
    width: 5.5rem;
  }
}

@media (max-width: 52rem) {
  .nav-shell {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand-icon {
    margin-left: auto;
  }

  .timeline-toggle {
    grid-template-columns: 1fr;
  }

  .timeline-panel {
    padding-left: 1.2rem;
  }
}

@media (max-width: 40rem) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .nav-shell,
  .hero-shell,
  .section-shell,
  .footer-shell,
  .hero-panel {
    border-radius: 1.55rem;
  }

  .nav-shell {
    padding: 0.85rem 1rem;
  }

  .brand-text {
    width: 11rem;
  }

  .brand-icon {
    width: 4.5rem;
    padding: 0.65rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .portfolio-modal__panel {
    padding: 1rem;
  }
}
