/* ---------------------------------------------------------------
   VERO DIGITAL — hero
   Display: Archivo · Interface: Lato · Icons: Lucide
   Constraint: the geometric centre of the screen (the eyes in the
   background video) must stay free of text. Content is anchored to
   the top bar and the lower-left / lower band only.
----------------------------------------------------------------- */

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #e4dfd6;          /* bright warm grey — high legibility over video */
  --accent: #d4a373;         /* refined sand/gold */
  --line: rgba(255, 255, 255, 0.16);

  --pad-x: clamp(20px, 5.2vw, 92px);
  --header-pad-b: 30px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

svg {
  display: block;
}

ol,
li {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ---------------------------------------------------------------
   Background video (no overlay)
----------------------------------------------------------------- */

.hero-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   Header
----------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px var(--pad-x) var(--header-pad-b);
  border-bottom: 1px solid var(--line);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.7);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(24px, 3vw, 54px);
}

.nav-link {
  position: relative;
  padding: 4px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #f3f0ea;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-link.is-active {
  color: var(--fg);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--header-pad-b));
  height: 2px;
  background: var(--accent);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  display: grid;
  place-items: center;
  padding: 6px;
  color: var(--fg);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.icon-btn:hover {
  color: var(--accent);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.menu-btn {
  display: none;
}

/* ---------------------------------------------------------------
   Hero — content anchored to the lower band
----------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 5vh, 60px) var(--pad-x) 24px;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.7);
}

/* Lower band: title → services → baseline */
.hero-bottom {
  display: flex;
  flex-direction: column;
}

.headline {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.85;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: clamp(34px, 5vh, 60px);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.headline-dot {
  color: var(--accent);
}

/* Service columns ------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 72px);
}

.feature {
  display: flex;
  flex-direction: column;
}

.feature-icon {
  display: flex;
  align-items: center;
  height: 56px;
  margin-bottom: 24px;
  color: var(--fg);
}

.feature-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.4;
}

.feature-icon--boxed {
  width: 56px;
  justify-content: center;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.feature-icon--boxed svg {
  width: 28px;
  height: 28px;
}

.feature-text {
  max-width: 330px;
  margin-bottom: 22px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.8);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.2s ease, gap 0.2s ease;
}

.feature-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.feature-link:hover {
  color: var(--accent);
  gap: 18px;
}

/* Baseline rule with accent segment ------------------------------ */

.hero-baseline {
  position: relative;
  margin-top: clamp(28px, 4vh, 48px);
  height: 1px;
  background: var(--line);
}

.hero-baseline::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: clamp(180px, 32%, 560px);
  height: 3px;
  background: var(--accent);
}

/* ---------------------------------------------------------------
   Responsive
----------------------------------------------------------------- */

@media (max-width: 1024px) {
  .features {
    gap: clamp(20px, 3vw, 48px);
  }
  .feature-text {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }

  .menu-btn {
    display: grid;
  }

  /* Mobile dropdown nav */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pad-x) 16px;
    background: rgba(6, 6, 6, 0.96);
    border-bottom: 1px solid var(--line);
    display: none;
  }

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

  .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .features {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .feature-icon {
    margin-bottom: 18px;
  }

  .feature-text {
    max-width: 460px;
    font-size: 17px;
  }

  .headline {
    font-size: clamp(3rem, 13vw, 5rem);
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
