@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #f5f3ed;
  --ink-soft: rgba(245, 243, 237, .72);
  --line: rgba(255, 255, 255, .24);
  --page-pad: clamp(1.25rem, 3.1vw, 3.75rem);
  --type-display: clamp(2.65rem, 10.4cqw, 6.2rem);
  --type-body: clamp(.82rem, .95vw, 1rem);
  --type-small: .6875rem;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #111613;
}

body {
  overflow: hidden;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: var(--type-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: #111613;
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.experience {
  isolation: isolate;
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #111613 url("assets/vedos-background-web-poster.jpg") center / cover no-repeat;
}

.background-video,
.scene-grade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.background-video {
  z-index: -4;
  object-fit: cover;
  object-position: center;
}

.scene-grade {
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(7, 9, 8, .2), rgba(7, 9, 8, .2)),
    linear-gradient(90deg, rgba(8, 10, 9, .38) 0%, rgba(8, 10, 9, .13) 44%, rgba(8, 10, 9, .24) 100%),
    linear-gradient(180deg, rgba(7, 8, 8, .28) 0%, transparent 35%, rgba(7, 8, 8, .38) 100%);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 3.25rem) var(--page-pad);
}

.brand {
  display: block;
  width: clamp(5.1rem, 6.3vw, 7.4rem);
  line-height: 0;
  transition: opacity 180ms ease;
}

.brand:hover { opacity: .72; }
.brand img { width: 100%; height: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 2.5vw, 3.2rem);
  font-size: var(--type-small);
  line-height: 1;
  letter-spacing: .04em;
}

.header-nav a {
  position: relative;
  text-decoration: none;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.45rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-link {
  padding: .85rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 20, 19, .5);
}

.contact-link::after { display: none; }

.hero-panel {
  container-type: inline-size;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: min(54vw, 46rem);
  min-height: 0;
  padding: 0 clamp(2rem, 4vw, 4.75rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translate(-50%, -50%);
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  margin: 0;
  padding: 0 0 clamp(1.5rem, 3.4vh, 2rem);
}

h1 {
  margin: 0;
  font-size: var(--type-display);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.062em;
}

h1 span { display: block; }

.hero-copy p {
  max-width: 42rem;
  margin: clamp(1.2rem, 2.8vh, 2rem) 0 0;
  color: rgba(245, 243, 237, .84);
  font-size: var(--type-body);
  line-height: 1.62;
  letter-spacing: -.015em;
}

.panel-footer {
  display: grid;
  grid-template-columns: auto minmax(10rem, 1fr);
  align-items: end;
  gap: clamp(1.25rem, 2.7vw, 3rem);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-width: min(100%, 18rem);
  padding: .48rem .5rem .48rem 1.2rem;
  color: #101510;
  background: var(--ink);
  border-radius: 999px;
  font-size: var(--type-small);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), background-color 180ms ease;
}

.primary-cta:hover { transform: translateY(-2px); background: #fff; }

.cta-arrow {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: var(--ink);
  background: #161c18;
  border-radius: 50%;
  font-size: var(--type-small);
}

.site-notice {
  max-width: 20rem;
  margin: 0;
  color: rgba(245, 243, 237, .8);
  font-size: var(--type-small);
  line-height: 1.62;
  letter-spacing: -.006em;
}

.site-notice a {
  color: var(--ink);
  text-decoration-color: rgba(245, 243, 237, .46);
  text-underline-offset: .2em;
  transition: text-decoration-color 180ms ease;
}

.site-notice a:hover,
.site-notice a:focus-visible { text-decoration-color: currentColor; }

.edge-meta {
  position: absolute;
  z-index: 8;
  bottom: clamp(1.35rem, 2.8vw, 3rem);
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.5rem);
  color: rgba(245, 243, 237, .72);
  font-size: var(--type-small);
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
}

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

@media (max-width: 980px) {
  .hero-panel { width: min(62vw, 42rem); }
  .panel-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .site-notice { max-width: 25rem; }
}

@media (max-width: 700px) {
  :root { --page-pad: 1.15rem; }

  .site-header { padding-top: max(1.25rem, env(safe-area-inset-top)); }
  .brand { width: 4.8rem; }
  .header-nav { gap: .8rem; }
  .contact-link { padding: .7rem .85rem; }

  .hero-panel {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: calc(100% - (2 * var(--page-pad)));
    min-height: 0;
    max-height: none;
    padding: 0 1.55rem;
    transform: translate(-50%, -50%);
  }

  .hero-copy { padding: 0 0 1.4rem; }
  .hero-copy p { margin-top: 1.2rem; line-height: 1.55; }
  .panel-footer { gap: .85rem; }
  .primary-cta { width: 100%; }
  .site-notice { max-width: none; line-height: 1.5; }

  .edge-meta { bottom: max(1.25rem, env(safe-area-inset-bottom)); }
}

@media (max-height: 690px) and (min-width: 701px) {
  .hero-copy { padding-bottom: 1.25rem; }
  .hero-copy p { margin-top: 1.2rem; }
}

@media (max-height: 620px) and (max-width: 700px) {
  .hero-copy { padding-bottom: .85rem; }
  .hero-copy p { margin-top: .8rem; }
  .primary-cta { padding-block: .38rem; }
  .edge-meta { bottom: .85rem; }
}

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