:root {
  --ink: #07111f;
  --ink-soft: #243247;
  --muted: #657186;
  --line: #d7dee8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --navy: #071b34;
  --navy-soft: #123356;
  --blue: #0b3768;
  --mist: #eef3f7;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.14);
  --radius: 8px;
  font-family: "Helvetica Roman", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 78px;
  padding: 12px max(18px, calc((100% - 1180px) / 2 + 18px));
  border-bottom: 1px solid rgba(215, 222, 232, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(7, 17, 31, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(132px, 16vw, 176px);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  min-height: 40px;
  padding: 0.65rem 0.9rem;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--mist);
  color: var(--navy);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section,
.page-hero,
.contact-page,
.cta-band,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  place-items: center start;
  padding: clamp(4rem, 8vw, 7rem) max(18px, calc((100% - 1180px) / 2 + 18px));
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.78) 0%, rgba(7, 17, 31, 0.62) 38%, rgba(7, 17, 31, 0.2) 72%, rgba(7, 17, 31, 0.1) 100%),
    url("assets/nz-mountain-hero.png") center / cover no-repeat;
  color: var(--white);
}

.hero-content {
  width: min(680px, 100%);
}

.hero-logo {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  top: clamp(24px, 4vw, 48px);
  width: clamp(72px, 7vw, 96px);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24));
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: #7898bc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.25rem, 5.2vw, 4.55rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 3.15vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(7, 27, 52, 0.24);
}

.button-metallic {
  background:
    linear-gradient(135deg, rgba(6, 36, 90, 0.82) 0%, rgba(0, 137, 255, 0.76) 34%, rgba(121, 207, 255, 0.72) 50%, rgba(0, 88, 200, 0.76) 66%, rgba(2, 27, 80, 0.82) 100%);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(0, 101, 214, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.section,
.page-hero,
.contact-page {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 2.2rem;
}

.section-heading p,
.page-hero p,
.contact-copy p {
  max-width: 760px;
}

.intro {
  width: 100%;
  background: var(--white);
  padding-inline: max(16px, calc((100% - 1180px) / 2 + 16px));
}

.intro .section-heading,
.intro .three-column {
  width: min(1180px, 100%);
}

.three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(11, 55, 104, 0.22);
  border-bottom: 1px solid rgba(11, 55, 104, 0.22);
  background: var(--white);
}

.three-column article {
  min-height: 250px;
  padding: clamp(1.35rem, 3vw, 2rem);
}

.three-column article + article {
  border-left: 1px solid rgba(11, 55, 104, 0.28);
}

.three-column h3 {
  color: var(--navy);
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-band .section-kicker,
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  max-width: 1020px;
}

.launch-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.launch-grid,
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card,
.portfolio-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 42px rgba(7, 17, 31, 0.06);
}

.price-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 1.7rem);
}

.support-card {
  min-height: 560px;
}

.price-card.highlighted {
  border-color: rgba(11, 55, 104, 0.46);
  box-shadow: var(--shadow);
}

.recommended-label {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius) 0 7px 0;
  background:
    linear-gradient(135deg, rgba(6, 36, 90, 0.82) 0%, rgba(0, 137, 255, 0.76) 36%, rgba(121, 207, 255, 0.72) 52%, rgba(0, 88, 200, 0.76) 68%, rgba(2, 27, 80, 0.82) 100%);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.plan-name {
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-card h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 3.3vw, 2.95rem);
  line-height: 1;
}

.price-card h2 span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.launch-fee {
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
  font-weight: 800;
}

.plan-note,
.form-note {
  color: var(--muted);
}

.tick-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.tick-list li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.portfolio-showcase {
  display: grid;
  gap: 1.2rem;
}

.portfolio-stage {
  position: relative;
  min-height: clamp(405px, 46vw, 520px);
}

.portfolio-card {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-rows: auto auto;
  width: min(780px, 82vw);
  overflow: hidden;
  transition: transform 620ms ease, opacity 620ms ease, filter 620ms ease, z-index 620ms step-end;
}

.portfolio-card.is-active {
  z-index: 3;
  opacity: 1;
  filter: blur(0);
  transform: translateX(-50%) scale(1);
}

.portfolio-card.is-next,
.portfolio-card.is-previous {
  z-index: 1;
  opacity: 0.44;
  filter: blur(5px);
  cursor: pointer;
}

.portfolio-card.is-next {
  transform: translateX(-6%) translateY(46px) scale(0.68);
}

.portfolio-card.is-previous {
  transform: translateX(-94%) translateY(46px) scale(0.68);
}

.portfolio-visual {
  position: relative;
  aspect-ratio: 1523 / 688;
  overflow: hidden;
  background: var(--mist);
}

.portfolio-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.portfolio-copy {
  align-self: end;
  height: clamp(108px, 13vw, 165px);
  overflow: hidden;
  padding: clamp(0.85rem, 2vw, 1.05rem);
  background: var(--white);
}

.portfolio-copy p {
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-copy span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.portfolio-card.is-next:hover,
.portfolio-card.is-previous:hover,
.portfolio-card.is-next:focus-visible,
.portfolio-card.is-previous:focus-visible {
  opacity: 0.58;
  filter: blur(3px);
  outline: 3px solid rgba(11, 55, 104, 0.18);
  outline-offset: 6px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(11, 55, 104, 0.14);
}

.form-note {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.footer-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.footer-brand img {
  width: clamp(96px, 10vw, 124px);
  height: auto;
  object-fit: contain;
}

@media (max-width: 920px) {
  .three-column,
  .split-section,
  .launch-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .three-column article + article {
    border-top: 1px solid rgba(11, 55, 104, 0.28);
    border-left: 0;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .support-card,
  .price-card {
    min-height: auto;
  }

  .portfolio-stage {
    min-height: clamp(360px, 55vw, 500px);
  }

  .portfolio-card {
    width: min(640px, 88vw);
  }

  .portfolio-card.is-next {
    transform: translateX(-21%) translateY(34px) scale(0.58);
  }

  .portfolio-card.is-previous {
    transform: translateX(-79%) translateY(34px) scale(0.58);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding-inline: 12px;
  }

  .brand img {
    width: 132px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 10px;
    left: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.85rem;
  }

  .section,
  .page-hero,
  .contact-page,
  .cta-band,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: 620px;
    padding-inline: 18px;
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.7) 0%, rgba(7, 17, 31, 0.68) 100%),
      url("assets/nz-mountain-hero.png") center / cover no-repeat;
  }

  .hero-logo {
    right: 18px;
    top: 22px;
    width: 72px;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3.05rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .portfolio-stage {
    display: flex;
    gap: 0.9rem;
    min-height: 0;
    overflow-x: auto;
    padding: 0 4vw 0.7rem;
    scroll-padding-inline: 4vw;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-card {
    position: relative;
    left: auto;
    flex: 0 0 min(88vw, 430px);
    width: auto;
    scroll-snap-align: center;
  }

  .portfolio-copy {
    height: auto;
    min-height: 178px;
    overflow: visible;
  }

  .portfolio-card.is-next,
  .portfolio-card.is-previous {
    opacity: 1;
    filter: none;
  }

  .portfolio-card.is-active,
  .portfolio-card.is-next {
    transform: none;
  }

  .portfolio-card.is-previous {
    transform: none;
  }

}
