:root {
  --bg: #061816;
  --bg-2: #0c2521;
  --ink: #f4f1e8;
  --muted: #bfd0ca;
  --line: rgba(244, 241, 232, 0.16);
  --accent: #d8a84f;
  --accent-2: #51b69f;
  --surface: rgba(255, 255, 255, 0.07);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--ink);
  color: var(--bg);
  left: 1rem;
  padding: .7rem 1rem;
  position: fixed;
  top: -4rem;
  z-index: 30;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  position: fixed;
  right: 0;
  top: 0;
  transition: background .25s ease, border-color .25s ease;
  z-index: 20;
}

.site-header[data-scrolled="true"] {
  background: rgba(6, 24, 22, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: .8rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, var(--accent), #fff1b8);
  color: #11231f;
  display: inline-flex;
  font-weight: 800;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: .72rem;
}

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

.site-nav a {
  color: var(--muted);
  font-size: .92rem;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid var(--line);
  color: var(--ink) !important;
  padding: .65rem .95rem;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  padding: .35rem;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  padding: 8.5rem clamp(1.25rem, 5vw, 4rem) 3rem;
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, rgba(6, 24, 22, 0), var(--bg));
  bottom: 0;
  content: "";
  height: 26vh;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(6, 24, 22, .98) 0%, rgba(6, 24, 22, .76) 43%, rgba(6, 24, 22, .36) 100%),
    url("../images/zeberike-hero.jpg");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.03);
}

.hero-motion-grid {
  animation: drift 16s linear infinite;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 90px 90px;
  inset: 0;
  opacity: .18;
  position: absolute;
}

.hero-ship {
  animation: slow-pan 18s ease-in-out infinite alternate;
  background: linear-gradient(90deg, transparent, rgba(216,168,79,.24), transparent);
  bottom: 26%;
  height: 2px;
  position: absolute;
  right: 10%;
  width: 38%;
}

.hero-content,
.hero-stats {
  max-width: var(--max);
  position: relative;
  z-index: 2;
}

.hero-content {
  margin: 0 auto;
  padding-top: clamp(1rem, 4vh, 3rem);
}

.eyebrow {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

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

h1 {
  color: #fffaf0;
  font-size: clamp(2.85rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: 0;
}

.hero-copy {
  color: #dce8e2;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 720px;
}

.hero-content .reveal,
.hero-stats.reveal {
  opacity: 1;
  transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 3rem;
  padding: .85rem 1.15rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #11231f;
}

.button.secondary {
  background: rgba(255,255,255,.04);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 5rem auto 0;
}

.hero-stats article {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.hero-stats strong {
  color: var(--accent);
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
}

.section,
.service-band,
.feature-strip,
.page-hero,
.detail-list,
.contact-grid {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2rem);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
}

.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.service-band {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 1rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 300px;
  padding: 1.5rem;
  transition: background .2s ease, transform .2s ease;
}

.service-card:hover {
  background: rgba(255,255,255,.11);
  transform: translateY(-4px);
}

.service-card span,
.detail-row span {
  color: var(--accent);
  display: inline-block;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.service-card p,
.feature-copy p {
  color: var(--muted);
}

.service-card a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.feature-strip {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1fr);
}

.feature-visual {
  aspect-ratio: 1 / .82;
  background:
    linear-gradient(135deg, rgba(6,24,22,.15), rgba(6,24,22,.85)),
    url("../images/zeberike-hero.jpg");
  background-position: center;
  background-size: cover;
  border: 1px solid var(--line);
}

.page-hero {
  padding-top: 10rem;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 6rem);
}

.detail-list {
  padding-top: 0;
}

.detail-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 90px minmax(0, 1fr);
  padding: 2rem 0;
}

.detail-row p {
  color: var(--muted);
  max-width: 760px;
}

.contact-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: .8fr 1fr;
  padding-top: 0;
}

.contact-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.contact-panel p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  color: var(--muted);
  display: grid;
  gap: .45rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(0,0,0,.2);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: .9rem;
  width: 100%;
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
}

.site-footer p,
.footer-links a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(90px, 90px, 0);
  }
}

@keyframes slow-pan {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(8%);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: rgba(6, 24, 22, .97);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 1rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-stats,
  .service-band,
  .split,
  .feature-strip,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .detail-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .hero-actions,
  .footer-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
