:root {
  --navy: #07111f;
  --navy-soft: #0d1d31;
  --steel: #8fa0b3;
  --steel-light: #d8e0e8;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-large: 28px;
  --radius-medium: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--navy);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

/* -----------------------------
   Shared header
----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 17, 31, 0.86);
  backdrop-filter: blur(18px);
}

body.hero-closed .site-header {
  display: block;
  animation: slideDown 420ms ease both;
}

.navbar {
  width: min(100% - 40px, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--white);
  opacity: 0.9;
}

.brand-mark::before {
  width: 16px;
  height: 1px;
  top: 11px;
  left: 8px;
}

.brand-mark::after {
  width: 1px;
  height: 16px;
  top: 8px;
  left: 16px;
}

.nav-link-brand {
  border: 0;
  color: var(--white);
  background: transparent;
  padding: 0;
}

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

.nav-link {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

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

.nav-link:hover {
  transform: translateY(-1px);
}

/* -----------------------------
   Main sections
----------------------------- */

.page-section {
  display: none;
  min-height: calc(100vh - 76px);
  background:
    radial-gradient(circle at top right, rgba(143, 160, 179, 0.18), transparent 38%),
    linear-gradient(145deg, var(--navy), #0a1728 52%, #101d2d);
}

.page-section.active-section {
  display: block;
  animation: fadeIn 360ms ease both;
}

.content-wrap {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 110px 0;
}

.section-kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--steel-light);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 22px;
  max-width: 780px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* -----------------------------
   Opening hero
----------------------------- */

.home-section {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px;
  background:
    linear-gradient(rgba(7, 17, 31, 0.54), rgba(7, 17, 31, 0.86)),
    url("assets/hero-bg.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.76), transparent 52%),
    radial-gradient(circle at center, transparent, rgba(7, 17, 31, 0.62));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background:
    linear-gradient(145deg, rgba(13, 29, 49, 0.72), rgba(7, 17, 31, 0.62));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  text-align: center;
}

.hero-panel .eyebrow,
.hero-panel p {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy {
  margin-bottom: 34px;
}

.hero-close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.6rem;
  line-height: 1;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.hero-close-button:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

.hero-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hero-nav-button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.hero-nav-button:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

body.hero-closed .hero {
  display: none;
}

.home-content {
  display: none;
}

body.hero-closed .home-content {
  display: block;
}

/* -----------------------------
   Our Work
----------------------------- */

.coming-soon-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.gallery-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.gallery-placeholder span {
  padding: 20px;
}

/* -----------------------------
   About
----------------------------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.info-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.055);
}

.info-card p {
  font-size: 0.98rem;
}

/* -----------------------------
   Contact
----------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.contact-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 650;
}

label span {
  color: var(--steel-light);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--white);
  background: rgba(7, 17, 31, 0.64);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

input:focus,
textarea:focus {
  border-color: rgba(216, 224, 232, 0.72);
  box-shadow: 0 0 0 4px rgba(216, 224, 232, 0.11);
  background: rgba(7, 17, 31, 0.92);
}

input[type="file"] {
  padding: 12px;
}

textarea {
  resize: vertical;
}

.submit-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  cursor: not-allowed;
}

/* -----------------------------
   Footer
----------------------------- */

.site-footer {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #050c16;
}

body.hero-closed .site-footer {
  display: block;
}

.footer-inner {
  width: min(100% - 40px, var(--max-width));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

/* -----------------------------
   Animations
----------------------------- */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -----------------------------
   Mobile
----------------------------- */

@media (max-width: 820px) {
  .navbar {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-link {
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .hero {
    padding: 20px;
  }

  .hero-panel {
    padding: 34px 22px 24px;
  }

  .hero-nav {
    grid-template-columns: 1fr;
  }

  .content-wrap {
    width: min(100% - 32px, var(--max-width));
    padding: 72px 0;
  }

  .coming-soon-gallery,
  .info-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .gallery-placeholder {
    min-height: 210px;
  }

  .footer-inner {
    width: min(100% - 32px, var(--max-width));
    padding: 26px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .brand {
    font-size: 0.9rem;
  }

  .hero-close-button {
    width: 38px;
    height: 38px;
  }
}
