:root {
  --color-bg: #0e0d15;
  --color-navy: #182346;
  --color-blue: #3d5387;
  --color-lavender: #7c83ad;
  --color-mauve: #bfa9ba;
  --color-white: #ffffff;
  --color-muted: #a5a6b8;

  --header-height: 88px;
  --container-width: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: Arial, Helvetica, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-mauve);
  outline-offset: 5px;
}

.header-section {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;

  background: rgba(14, 13, 21, 0.94);
  border-bottom: 1px solid rgba(124, 131, 173, 0.15);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-container {
  position: relative;
  width: min(100% - 80px, var(--container-width));
  min-height: var(--header-height);
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 46px;
  height: auto;

  display: grid;
  place-items: center;

  position: relative;
  isolation: isolate;

  background: linear-gradient(145deg, var(--color-blue), var(--color-navy));

  border: 1px solid rgba(191, 169, 186, 0.35);
  border-radius: 13px;

  font-size: 19px;
  font-weight: 800;
  letter-spacing: -3px;
  padding-right: 3px;

  box-shadow: 0 5px 22px rgba(61, 83, 135, 0.18);
}

.logo-mark span {
  color: var(--color-mauve);
}

.brand-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-role {
  font-size: 10px;
  color: var(--color-muted);
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;

  padding-block: 10px;

  color: var(--color-muted);
  font-size: 13px;
  font-weight: 500;

  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;

  width: 0;
  height: 2px;

  background: var(--color-mauve);
  border-radius: 10px;

  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  padding: 12px 17px;

  background: var(--color-blue);
  border: 1px solid rgba(191, 169, 186, 0.22);
  border-radius: 8px;

  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-button i {
  color: var(--color-mauve);
  font-size: 11px;
  transition: transform 0.25s ease;
}

.contact-button:hover {
  background: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 83, 135, 0.2);
}

.contact-button:hover i {
  transform: translate(2px, -2px);
}

.menu-toggle,
.mobile-close,
.mobile-nav-heading,
.mobile-contact-link,
.nav-overlay {
  display: none;
}

@media (max-width: 1000px) {
  .header-container {
    width: calc(100% - 48px);
    gap: 20px;
  }

  .nav-links {
    gap: 22px;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-link {
    font-size: 12px;
  }

  .contact-button {
    padding: 11px 13px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  .header-container {
    width: calc(100% - 36px);
    min-height: var(--header-height);
  }

  .logo-mark {
    width: 42px;
    height: auto;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-role {
    font-size: 9px;
  }

  /* Full-screen background overlay */

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1001;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Slide-in navigation panel */

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1002;

    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;

    padding: 28px 25px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 35px;

    background: var(--color-navy);
    border-left: 1px solid rgba(191, 169, 186, 0.18);

    transform: translateX(100%);
    visibility: hidden;

    transition:
      transform 0.3s ease,
      visibility 0.3s ease;
  }

  .nav-links.is-open {
    transform: translateX(0);
    visibility: visible;
  }

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

    padding-bottom: 22px;
    border-bottom: 1px solid rgba(124, 131, 173, 0.2);

    color: var(--color-mauve);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .mobile-close {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(191, 169, 186, 0.18);
    border-radius: 9px;

    cursor: pointer;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;

    list-style: none;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 15px 12px;

    color: #c3c5d3;
    font-size: 15px;
    border-radius: 7px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--color-white);
    background: rgba(124, 131, 173, 0.14);
  }

  .mobile-contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: auto;
    padding: 15px 16px;

    color: var(--color-white);
    background: var(--color-blue);
    border: 1px solid rgba(191, 169, 186, 0.2);
    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;
  }

  .mobile-contact-link i {
    color: var(--color-mauve);
  }

  /* Hamburger button */

  .menu-toggle {
    display: grid;
    place-items: center;

    width: 43px;
    height: 43px;

    background: rgba(124, 131, 173, 0.1);
    color: var(--color-white);

    border: 1px solid rgba(124, 131, 173, 0.22);
    border-radius: 10px;

    font-size: 17px;
    cursor: pointer;

    transition:
      background 0.25s ease,
      border-color 0.25s ease;
  }

  .menu-toggle:hover {
    background: var(--color-blue);
    border-color: var(--color-lavender);
  }

  .contact-button {
    display: none;
  }
}

@media (max-width: 380px) {
  .header-container {
    width: calc(100% - 24px);
  }

  .brand-logo {
    gap: 9px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-role {
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .logo-mark {
    width: 39px;
    height: 39px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}

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

/* =====================Hero Section=============== */

.hero {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);

  width: min(100% - 80px, var(--container-width));
  min-height: 620px;

  margin-inline: auto;
  padding-block: 75px 90px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 65px;
  left: -40px;
  z-index: -1;

  width: 180px;
  height: 180px;

  background-image: radial-gradient(
    rgba(124, 131, 173, 0.23) 1px,
    transparent 1px
  );

  background-size: 16px 16px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-content-container {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 28px;

  color: var(--color-mauve);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.4px;
  line-height: 1.7;
}

.eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 2px;
  flex-shrink: 0;

  background: var(--color-lavender);
}

.hero-name {
  margin-bottom: 8px;

  color: var(--color-lavender);
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

/* Main heading */

.hero-title {
  max-width: 650px;
  margin-bottom: 24px;

  color: var(--color-white);
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2.8px;
  overflow-wrap: break-word;
}

.hero-title span {
  color: var(--color-mauve);
}

.hero-description {
  max-width: 570px;
  margin-bottom: 32px;

  color: #b6b5c2;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.05px;
}

.hero-btn-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn {
  min-height: 49px;
  padding: 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 1px solid transparent;
  border-radius: 6px;

  font-size: 12px;
  font-weight: 600;
  text-decoration: none;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.hero-btn i {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.hero-btn.explore {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.hero-btn.explore:hover {
  background: #324675;
  border-color: var(--color-lavender);
  transform: translateY(-2px);
}

.hero-btn.explore:hover i {
  transform: translateX(4px);
}

.hero-btn.contact {
  background: transparent;
  color: #e5e1eb;
  border-color: rgba(191, 169, 186, 0.35);
}

.hero-btn.contact:hover {
  background: rgba(124, 131, 173, 0.1);
  border-color: var(--color-mauve);
  transform: translateY(-2px);
}

.hero-btn.contact i {
  color: var(--color-mauve);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 36px;

  color: #858597;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

.hero-note-line {
  width: 24px;
  height: 1px;
  flex-shrink: 0;

  background: var(--color-lavender);
}

.hero-img-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: end;
  padding: 0 14px 14px 0;
}

.hero-image-frame {
  position: relative;
  z-index: 1;

  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;

  background: var(--color-navy);
  border: 1px solid rgba(191, 169, 186, 0.25);
  border-radius: 3px;
}

.hero-img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 30%;

  filter: saturate(0.88);
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

.hero-image-frame:hover .hero-img {
  transform: scale(1.035);
  filter: saturate(1);
}

.image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 17px 19px;

  background: linear-gradient(
    to top,
    rgba(14, 13, 21, 0.95),
    rgba(14, 13, 21, 0.45)
  );

  color: #e4dfeb;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.caption-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;

  background: var(--color-mauve);
  border-radius: 50%;
}

.hero-image-decoration {
  position: absolute;
  top: 18px;
  right: 0;
  bottom: 0;
  left: 18px;

  border: 1px solid rgba(124, 131, 173, 0.5);
  pointer-events: none;
}

@media (max-width: 1000px) {
  .hero {
    width: calc(100% - 48px);
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
    gap: 36px;

    min-height: 560px;
    padding-block: 65px 75px;
  }

  .hero-title {
    font-size: clamp(40px, 5.4vw, 56px);
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-img-container {
    max-width: 360px;
  }

  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 1.7px;
  }

  .hero-note {
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  .hero {
    width: calc(100% - 40px);

    grid-template-columns: minmax(0, 1fr);
    gap: 46px;

    min-height: auto;
    padding-block: 65px 75px;
  }

  .hero::before {
    top: 35px;
    left: -12px;
    width: 130px;
    height: 130px;
  }

  .hero-content-container {
    width: 100%;
  }

  .hero-eyebrow {
    margin-bottom: 23px;
    font-size: 9px;
    letter-spacing: 1.7px;
  }

  .hero-name {
    font-size: 24px;
  }

  .hero-title {
    max-width: 560px;
    margin-bottom: 20px;

    font-size: clamp(42px, 9vw, 60px);
    line-height: 1.1;
    letter-spacing: -2px;
  }

  .hero-description {
    max-width: 600px;
    margin-bottom: 26px;

    font-size: 14px;
    line-height: 1.9;
  }

  .hero-btn-container {
    gap: 12px;
  }

  .hero-btn {
    min-height: 48px;
    padding-inline: 17px;
  }

  .hero-note {
    margin-top: 28px;
    font-size: 10px;
  }

  .hero-img-container {
    width: min(100%, 420px);
    max-width: none;
    justify-self: center;
  }
}

@media (max-width: 420px) {
  .hero {
    width: calc(100% - 32px);
    gap: 38px;
    padding-block: 48px 60px;
  }

  .hero-eyebrow {
    gap: 9px;
    font-size: 8px;
    letter-spacing: 1.2px;
  }

  .eyebrow-line {
    width: 22px;
  }

  .hero-name {
    font-size: 21px;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 45px);
    letter-spacing: -1.6px;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.85;
  }

  .hero-btn-container {
    width: 100%;
    align-items: stretch;
  }

  .hero-btn {
    gap: 9px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .hero-note {
    align-items: flex-start;
    font-size: 9px;
  }

  .hero-img-container {
    padding-right: 10px;
    padding-bottom: 10px;
  }

  .hero-image-decoration {
    top: 12px;
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero *,
  .hero *::before,
  .hero *::after {
    transition: none !important;
  }
}
