:root {
  --clr-primary: #2f2fe4;
  --clr-secondary: #162e93;
  --clr-tertiary: #1a1953;
  --clr-dark: #080616;
  --clr-light: #f7f8ff;
  --clr-soft: #dfe3ff;
  --clr-card: #111033;
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --radius-lg: 1.6rem;
  --space-xs: 0.4rem;
  --space-sm: 0.7rem;
  --space-md: 1rem;
  --space-lg: 1.6rem;
  --space-xl: 2.6rem;
  --shadow-soft: 0 0.7rem 2rem rgba(8, 6, 22, 0.2);
  --shadow-strong: 0 1rem 2.5rem rgba(8, 6, 22, 0.35);
  --trans: 0.35s ease;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at 18% 20%, #1c1b66, var(--clr-dark));
  color: var(--clr-light);
  line-height: 1.45;
  font-size: 0.95rem;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(94%, var(--max));
  margin: 0 auto;
}

.basic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(223, 227, 255, 0.2);
  flex-wrap: wrap;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08rem;
  font-size: 1.3rem;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(223, 227, 255, 0.25);
  background: rgba(17, 16, 51, 0.8);
  color: var(--clr-light);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 90;
}

.menu-toggle [data-menu-close-icon] {
  display: none;
}

.menu-toggle[aria-expanded="true"] [data-menu-open-icon] {
  display: none;
}

.menu-toggle[aria-expanded="true"] [data-menu-close-icon] {
  display: inline-block;
}

.basic-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.basic-nav a {
  display: block;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
  transition: var(--trans);
  background: rgba(223, 227, 255, 0.08);
}

.basic-nav a:hover,
.basic-nav a:focus-visible {
  background: rgba(47, 47, 228, 0.28);
}

.hero-arc {
  margin: var(--space-md) 0 var(--space-xl);
  background: linear-gradient(145deg, rgba(47, 47, 228, 0.22), rgba(8, 6, 22, 0.8));
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  overflow: hidden;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-arc h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin: 0 0 var(--space-sm);
}

.hero-arc p {
  margin: 0 0 var(--space-md);
  max-width: 34ch;
  color: var(--clr-soft);
}

.dual-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.action-btn {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  margin: 15px 0;

}

.action-btn.primary {
  background: var(--clr-primary);
  color: #fff;
}

.action-btn.secondary {
  background: rgba(223, 227, 255, 0.16);
  color: var(--clr-light);
}

.canvas-panel {
  border-radius: var(--radius-md);
  background: rgba(8, 6, 22, 0.85);
  box-shadow: inset 0 0 0 1px rgba(223, 227, 255, 0.18);
  height: 19rem;
}

.section-line {
  margin: var(--space-xl) auto;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.section-head p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--clr-soft);
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.card-unit {
  background: rgba(17, 16, 51, 0.8);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

.card-unit h3 {
  margin: 0 0 var(--space-xs);
  font-size: 0.95rem;
}

.card-unit p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--clr-soft);
  margin: 15px 0;
}

.photo-ribbon {
  display: flex;
  gap: var(--space-md);
  align-items: stretch;
  flex-wrap: wrap;
}

.photo-ribbon figure {
  margin: 0;
  flex: 1 1 12rem;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 12rem;
}

.photo-ribbon figcaption {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  background: rgba(8, 6, 22, 0.75);
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.tilt-wrap {
  position: relative;
  padding: var(--space-xl) 0;
}

.tilt-a,
.tilt-b {
  background: rgba(17, 16, 51, 0.84);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.tilt-a {
  transform: rotate(-2deg);
}

.tilt-b {
  transform: rotate(2deg);
  margin-top: -1.2rem;
  margin-left: clamp(1rem, 8vw, 8rem);
  max-width: 42rem;
}

.angled-strip {
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
  background: linear-gradient(120deg, rgba(47, 47, 228, 0.25), rgba(22, 46, 147, 0.18));
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-md);
}

.contact-slab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

form {
  background: rgba(17, 16, 51, 0.95);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: grid;
  gap: var(--space-sm);
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  text-align: center;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(223, 227, 255, 0.26);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  font: inherit;
  color: var(--clr-light);
  background: rgba(8, 6, 22, 0.9);
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

.map-box iframe {
  width: 100%;
  min-height: 16rem;
  border: 0;
  border-radius: var(--radius-md);
}

.micro-footer {
  margin-top: var(--space-xl);
  padding: var(--space-md) 0 var(--space-lg);
  border-top: 1px solid rgba(223, 227, 255, 0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.75rem;
  color: var(--clr-soft);
}

.micro-footer nav {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.policy-pop {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 19rem;
  background: rgba(17, 16, 51, 0.96);
  border: 1px solid rgba(223, 227, 255, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-strong);
  z-index: 60;
}

.policy-pop.hidden {
  display: none;
}

.tiny-note {
  font-size: 0.72rem;
  color: var(--clr-soft);
}

.section-stack {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 90rem) {
  :root {
    --max: 78rem;
  }

  body {
    font-size: 1rem;
  }
}

@media (max-width: 80rem) {
  .site-shell {
    width: min(95%, var(--max));
  }
}

@media (max-width: 64rem) {
  .hero-layout,
  .contact-slab {
    grid-template-columns: 1fr;
  }

  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .canvas-panel {
    height: 14rem;
  }

  .tilt-b {
    margin-left: 0;
    margin-top: var(--space-sm);
    max-width: 100%;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 48rem) {
  body {
    font-size: 0.92rem;
  }

  .basic-header {
    justify-content: space-between;
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .basic-nav {
    display: none;
  }

  .basic-nav.open {
    position: fixed;
    inset: 0;
    display: flex;
    width: 100vw;
    height: 100dvh;
    background: rgba(8, 6, 22, 0.98);
    z-index: 80;
    align-items: center;
    justify-content: center;
  }

  .basic-nav.open ul {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
  }

  .basic-nav.open a {
    min-width: 12rem;
    text-align: center;
    font-size: 1rem;
    padding: 0.7rem 1rem;
    background: rgba(223, 227, 255, 0.12);
  }

  .hero-arc,
  .tilt-a,
  .tilt-b,
  .card-unit,
  form {
    padding: 0.9rem;
  }

  .angled-strip {
    clip-path: none;
    padding: var(--space-lg) var(--space-md);
  }

  .map-box iframe {
    min-height: 13rem;
  }

  .policy-pop {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    max-width: none;
  }
}

@media (max-width: 37.5rem) {
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .photo-ribbon figure {
    flex-basis: 100%;
    min-height: 10.5rem;
  }

  .brand-mark {
    font-size: 1.15rem;
  }

  .basic-nav a {
    font-size: 0.78rem;
    padding: 0.4rem 0.5rem;
  }

  .action-btn {
    text-align: center;
  }

  .dual-actions {
    width: 100%;
  }

  .micro-footer {
    justify-content: center;
    text-align: center;
  }

  .micro-footer nav {
    justify-content: center;
  }
}

@media (max-width: 23.4375rem) {
  .site-shell {
    width: 96%;
  }

  body {
    font-size: 0.88rem;
  }

  .hero-arc h1 {
    font-size: 1.1rem;
  }

  .section-head h2 {
    font-size: 1.14rem;
  }
}

@media (max-width: 20rem) {
  :root {
    --space-xs: 0.3rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-lg: 1.1rem;
    --space-xl: 1.5rem;
    --radius-md: 0.8rem;
    --radius-lg: 1rem;
  }

  .site-shell {
    width: 97%;
  }

  body {
    font-size: 0.84rem;
  }

  .basic-nav ul {
    gap: 0.25rem;
  }

  .basic-nav a {
    font-size: 0.72rem;
    padding: 0.34rem 0.42rem;
  }

  .hero-arc,
  .tilt-a,
  .tilt-b,
  .card-unit,
  form {
    padding: 0.68rem;
  }

  .canvas-panel {
    height: 10rem;
  }

  .map-box iframe {
    min-height: 11rem;
  }
}
