:root {
  --nav-bg: #052230;
  --shape: #01678a;
  --accent: #4aa3c7;
  --white: #ffffff;
  --btn-bg: #052230;
  --nav-h: clamp(64px, 4vw, 104px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "proxima-nova", "Helvetica Neue", Arial, sans-serif;
  background: var(--nav-bg);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 clamp(1rem, 4.2vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  width: clamp(30px, 2vw, 56px);
  height: auto;
  color: var(--white);
}
.brand-name {
  font-weight: 600;
  font-size: clamp(0.85rem, 1.05vw, 1.25rem);
  letter-spacing: 0.01em;
}
.brand-name em {
  font-style: italic;
  font-weight: 400;
}

.site-nav {
  display: flex;
  gap: clamp(1.1rem, 2.8vw, 3.4rem);
}
.site-nav a {
  font-weight: 600;
  font-size: clamp(0.85rem, 0.9vw, 1.3rem);
}
.site-nav a:hover {
  opacity: 0.75;
}

/* ---------- Mobile menu ---------- */
.menu-toggle,
.menu-close {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.menu-toggle svg,
.menu-close svg {
  display: block;
  width: 1.75rem;
  height: auto;
}
.menu-close svg {
  width: 1.5rem;
}

.menu-toggle:hover,
.menu-close:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.mobile-menu,
.menu-backdrop {
  display: none;
}

@media (max-width: 800px) {
  .site-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    margin-right: -0.7rem; /* keeps the icon aligned with the page edge */
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    width: min(80vw, 22rem);
    height: 100vh;
    height: 100dvh;
    padding: 1rem clamp(1.25rem, 6vw, 2rem) 2rem;
    background: var(--nav-bg);
    border-left: 3px solid var(--shape);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.3s ease,
      visibility 0s linear 0.3s;
  }
  .menu-close {
    display: flex;
    align-self: flex-end;
    margin-right: -0.7rem;
  }
  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1.5rem;
  }
  .mobile-menu nav a {
    padding: 0.6rem 0;
    font-size: clamp(1.6rem, 8vw, 2.25rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    color: var(--white);
    transition: color 0.2s ease;
  }
  .mobile-menu nav a:hover {
    color: var(--accent);
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(3, 12, 46, 0.6);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0s linear 0.3s;
  }

  .menu-open {
    overflow: hidden;
  }
  .menu-open .mobile-menu {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease;
  }
  .menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .menu-backdrop {
    transition: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 480px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 85%, rgba(5, 24, 42, 0.55), transparent 60%),
    linear-gradient(135deg, #0b445e 0%, #0c3c5d 48%, #030c2e 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("Photos/TextureWebsiteV2.png") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.28;
  pointer-events: none;
}

.shape {
  position: absolute;
  width: auto;
  pointer-events: none;
  user-select: none;
  filter: saturate(0.55) brightness(1.12) hue-rotate(4deg);
  opacity: 0.9;
}
.shape-v {
  left: 0;
  top: 0;
  height: 100%;
}
.shape-i {
  right: 0;
  bottom: 0;
  height: 109%;
}

.hero-copy {
  position: absolute;
  right: 15.2%;
  top: 28%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

h1 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.7rem, 4.4vw, 5.6rem);
  line-height: 1.1;
  text-transform: uppercase;
  text-align: right;
  letter-spacing: -0.005em;
}
h1 .line {
  display: block;
  white-space: nowrap;
}
h1 .strong {
  color: var(--white);
}
h1 .soft {
  color: var(--shape);
}

.btn {
  align-self: flex-start;
  margin: clamp(1rem, 0.6vw, 2.8rem) 0 0 18%;
  padding: 0 clamp(1.2rem, 1.8vw, 2.1rem);
  height: clamp(44px, 4.1vw, 80px);
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--btn-bg);
  font-weight: 600;
  font-size: clamp(0.85rem, 1vw, 1.3rem);
  transition: 0.2s ease-in;
}
.btn:hover {
  background: #0a80a8;
  transform: translateY(-2px);
}

/* CTA section */
.designcta,
.photocta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 8rem) clamp(1rem, 4.2vw, 5rem);
}
.designcta {
  background: linear-gradient(160deg, #052230 0%, #0c3c5d 100%);
}
.photocta {
  background: linear-gradient(200deg, #0c3c5d 0%, #030c2e 100%);
}

.designcta::before,
.photocta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("Photos/TextureWebsiteV2.png") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.28;
  pointer-events: none;
}

.designctacontent,
.photoctacontent {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.designctatext,
.photoctatext {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 1.6vw, 1.75rem);
  container-type: inline-size;
}

.designctaheading,
.photoctaheading {
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 5rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.designctaheading::first-line,
.photoctaheading::first-line {
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-style: italic;
}

.designctabody,
.photoctabody {
  max-width: 28em;
  font-size: clamp(1rem, 1.1vw, 1.35rem);
  font-weight: 300;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.86);
}

.designctabutton,
.photoctabutton {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  height: clamp(44px, 3.6vw, 68px);
  padding: 0 clamp(1.2rem, 1.8vw, 2.1rem);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--white);
  font-weight: 600;
  font-size: clamp(0.85rem, 1vw, 1.3rem);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.photoctabutton {
  background: var(--shape);
}

.designctabutton:hover,
.photoctabutton:hover {
  background: #0a80a8;
  transform: translateY(-2px);
}

/* photo column */
.designctaphoto,
.photoctaphoto {
  position: relative;
  isolation: isolate;
}
.vinylcta,
.astrocta {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1.5rem 2rem rgba(0, 0, 0, 0.45));
}
.astrocta {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 2.5vw, 2.5rem);
  translate: -50% 0;
  z-index: 2;
  width: clamp(2.25rem, 3vw, 3.5rem);
  height: clamp(2.25rem, 3vw, 3.5rem);
  color: var(--white);
}
.scroll-cue svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 2.5vw, 2.5rem);
  translate: -50% 0;
  z-index: 2;
  width: clamp(1.75rem, 2.2vw, 2.75rem);
  height: clamp(1.75rem, 2.2vw, 2.75rem);
  color: rgba(255, 255, 255, 0.5);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.scroll-cue svg {
  display: block;
  width: 100%;
  height: 100%;
}
.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: var(--white);
  transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue {
    transition: none;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--nav-bg);
  border-top: 3px solid var(--shape);
  padding: clamp(1.75rem, 3vw, 3rem) clamp(1rem, 4.2vw, 5rem)
    clamp(0.75rem, 1.2vw, 1.25rem);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

.footer-tagline {
  margin: 0.75rem 0 0;
  font-size: clamp(0.85rem, 0.95vw, 1.05rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: clamp(0.7rem, 0.8vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.footer-social {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.25rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-social a:hover {
  color: var(--white);
  transform: translateY(-3px);
}
.footer-social svg {
  width: 1.4rem;
  height: 1.4rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: clamp(1rem, 1vw, 2rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: clamp(0.75rem, 0.8vw, 0.9rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 800px) {
  .designctacontent,
  .photoctacontent {
    grid-template-columns: 1fr;
  }
  .photoctaphoto {
    order: -1;
  }
}

@media (max-width: 700px) {
  .hero-copy {
    right: 6%;
    top: 28%;
  }
  h1 {
    font-size: clamp(1.25rem, 6.2vw, 2.4rem);
  }
  .btn {
    margin-left: 0;
  }
  .shape-v {
    height: 55%;
  }
  .shape-i {
    height: 60%;
  }
}

@media (max-width: 700px) {
  .shape-v,
  .shape-i {
    display: none;
  }

  .hero-copy {
    inset: 0;
    padding: 0 1rem;
    align-items: center;
    justify-content: center;
  }
  h1 {
    font-size: clamp(1.25rem, 5.6vw, 2.4rem);
    text-align: center;
  }
  .btn {
    align-self: center;
    margin: 1.25rem 0 0;
  }
}
@media (max-width: 700px) {
  .shape-v,
  .shape-i {
    display: none;
  }

  .hero-copy {
    inset: 0;
    padding: 0 1rem 3rem;
    align-items: center;
    justify-content: center;
  }
  h1 {
    font-size: clamp(2rem, 9.5vw, 4.5rem);
    line-height: 1.05;
    text-align: center;
  }
  h1 .line {
    white-space: normal;
    text-wrap: balance;
  }
  h1 .soft {
    color: var(--accent);
  }
  .btn {
    align-self: center;
    margin: 1.5rem 0 0;
  }
}
