/* AshuVidz: one stylesheet for every page.
   Palette, type and rules come from creator/brand/visual-identity.md. */

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

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2");
}

:root {
  --void: #0a0f1e;
  --ink: #05070f;
  --night: #141b2e;
  --paper: #f4efe6;
  --muted: #8c97b0;
  --coral: #f2545b;

  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--void);
  color: var(--paper);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: var(--gutter);
  z-index: 10;
  padding: 0.75rem 1.25rem;
  background: var(--coral);
  color: var(--void);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

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

/* Header */

.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 3;
  padding: 1.1rem var(--gutter);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  max-width: var(--max);
  margin-inline: auto;
}

.brand img {
  width: 44px;
  height: 44px;
}

.site-nav {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  margin-left: auto;
}

.site-nav a,
.lang-switch a,
.lang-switch span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-block: 0.4rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.lang-switch a:hover {
  color: var(--paper);
}

.site-nav a[aria-current="page"] {
  border-bottom: 2px solid var(--coral);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding-left: clamp(0.9rem, 2vw, 1.6rem);
  border-left: 1px solid rgba(244, 239, 230, 0.16);
}

.lang-switch__current {
  color: var(--paper);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: start;
  padding-inline: var(--gutter);
  overflow: hidden;
}

.hero__plate,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__plate {
  background: url("Ashuvidz_BG.webp") center / cover no-repeat;
  filter: saturate(0.85) brightness(0.72);
}

.hero__veil {
  background:
    linear-gradient(
      90deg,
      var(--void) 0%,
      rgba(10, 15, 30, 0.93) 34%,
      rgba(10, 15, 30, 0.35) 66%,
      rgba(10, 15, 30, 0.1) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 15, 30, 0.7) 0%,
      rgba(10, 15, 30, 0) 24%,
      rgba(10, 15, 30, 0.85) 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/><feColorMatrix type='saturate' values='0'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='0.3'/></svg>");
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 52%;
  padding-top: 24svh;
  animation: rise 0.4s ease-out both;
}

.kicker {
  margin: 0 0 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 0.7rem;
  vertical-align: middle;
  background: var(--coral);
}

.promise {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  line-height: 1.06;
  text-transform: uppercase;
}

.promise em {
  display: block;
  font-style: normal;
  color: var(--coral);
}

.lede {
  max-width: 34ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.1rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 230, 0.3);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s,
    background-color 0.2s,
    border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--paper);
}

.btn--primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--void);
}

.btn--primary:hover {
  background: #ff6b72;
  border-color: #ff6b72;
}

/* Footer */

.site-footer {
  padding: 1rem var(--gutter);
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer a {
  text-decoration: none;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--paper);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero__copy {
    max-width: 100%;
    padding-top: 22svh;
  }

  .hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(10, 15, 30, 0.92) 0%,
        rgba(10, 15, 30, 0.55) 45%,
        rgba(10, 15, 30, 0.94) 100%
      );
  }
}

@media (max-width: 600px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .lang-switch {
    border-left: 0;
    padding-left: 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Inner pages: about and partners */

.page {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: clamp(7rem, 12vw, 9rem) 4rem;
}

.page--center {
  display: grid;
  align-content: center;
}

.page h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.page p {
  max-width: 62ch;
  margin: 0 0 1.1rem;
}

.page p:last-child {
  margin-bottom: 0;
}

.section {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
}

.section__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
}

.profile-group {
  margin-bottom: 1.3rem;
}

.profile-group h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-list a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.25);
  color: var(--paper);
  text-decoration: none;
}

.profile-list a:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.profile-group .note {
  margin-top: 0.6rem;
}

.note {
  max-width: 56ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-line {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.services {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.services li {
  padding-left: 1rem;
  border-left: 2px solid var(--coral);
}

.services strong {
  display: block;
  font-weight: 600;
}

.services span {
  color: var(--muted);
  font-size: 0.95rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin: 1.4rem 0 0.8rem;
  padding: 1.5rem;
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: 12px;
  background: var(--night);
}

.fact__value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
}

.fact__label {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.client-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.client-list strong {
  font-weight: 600;
}

.client-list span {
  color: var(--muted);
}

.policy {
  max-width: 62ch;
}

.stamp {
  margin: 0.9rem 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
