/* =========================================================
   Scott Lamar — Video Editor Portfolio
   Shared Stylesheet (index.html + contact.html)
   Visual direction: energetic / modern (artlist.io-inspired)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --bg:        #0c0c11;   /* deep charcoal base */
  --bg-elev:   #121219;
  --bg-card:   #16161f;
  --line:      #26262f;
  --text:      #f4f4f7;
  --text-dim:  #adadbd;
  --text-mute: #74748a;

  /* Vivid accent + gradient for energy */
  --accent:    #1ee07a;
  --accent-2:  #5cf08f;
  --grad:      linear-gradient(120deg, #12c96a 0%, #5cf08f 100%);
  --grad-soft: linear-gradient(120deg, rgba(30,224,122,0.18), rgba(92,240,143,0.12));
  --glow:      0 10px 30px -8px rgba(30,224,122,0.55);

  --nav-h: 72px;
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(0.34, 1.4, 0.4, 1);   /* slight overshoot / bounce */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --f-display: "Montserrat", system-ui, sans-serif;
  --f-body: "Montserrat", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient color wash for energy */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 85% -5%, rgba(30,224,122,0.16), transparent 70%),
    radial-gradient(50% 45% at 0% 30%, rgba(92,240,143,0.10), transparent 70%);
  pointer-events: none;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(30,224,122,0.4); color: #fff; }

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 104px); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
}

/* ---------- Buttons: Liquid Glass ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;                         /* crisp, high-contrast label */
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);/* glass edge */
  border-radius: var(--r-pill);           /* full pill */
  background: rgba(255,255,255,0.1);       /* frosted base */
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.25),           /* soft outer depth */
    inset 0 1px 0 rgba(255,255,255,0.35),  /* top light catch */
    inset 0 -1px 0 rgba(0,0,0,0.18);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.03);
  box-shadow:
    0 6px 26px rgba(0,0,0,0.3),
    0 0 26px rgba(30,224,122,0.5),         /* accent glow */
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.18);
}
.btn:active { transform: scale(0.97); }

/* Primary CTA — accent-tinted glass */
.btn--solid {
  background: rgba(30,224,122,0.22);
  border-color: rgba(255,255,255,0.28);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.2);
}
.btn--solid:hover {
  background: rgba(30,224,122,0.34);
  border-color: rgba(255,255,255,0.45);
  transform: scale(1.03);
  box-shadow:
    0 6px 28px rgba(0,0,0,0.3),
    0 0 32px rgba(30,224,122,0.65),
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 0 rgba(0,0,0,0.2);
}

.btn--sm { padding: 11px 22px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
  transition: color 0.18s var(--ease-out), gap 0.18s var(--ease);
}
.link-arrow:hover { color: var(--text); gap: 14px; }

/* =========================================================
   Intro Overlay (LVMAR wordmark)
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  animation: introOut 0.9s var(--ease-out) 2.1s forwards;
}
.intro__mark {
  font-family: "Cinzel", serif;
  font-weight: 600;
  color: #f4f4f7;
  font-size: clamp(2.2rem, 9vw, 6rem);
  letter-spacing: 0.4em;
  padding-left: 0.4em; /* offset trailing letter-spacing for true centering */
  opacity: 0;
  transform: translateY(10px);
  animation: introIn 1.3s var(--ease-out) 0.25s forwards;
}
@keyframes introIn { to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(12, 12, 17, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(12, 12, 17, 0.9);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.nav__logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  list-style: none;
}
.nav__links a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.18s var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -7px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width 0.25s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease-out);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 75% 15%, rgba(30,224,122,0.28), transparent 60%),
    radial-gradient(70% 60% at 10% 90%, rgba(92,240,143,0.18), transparent 60%),
    linear-gradient(180deg, #0e0e16 0%, var(--bg) 70%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 50%, transparent 60%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding-block: 120px; text-align: center; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
  font-size: clamp(3.4rem, 12vw, 10rem);
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 30%, #c4f5d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 38px;
}
.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll::before {
  content: "";
  width: 38px; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  animation: scrollline 2s var(--ease-out) infinite;
  transform-origin: left;
}
@keyframes scrollline {
  0%, 100% { transform: scaleX(0.4); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* =========================================================
   Creators Worked With (avatar strip)
   ========================================================= */
.creators {
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
}
.creators__inner {
  padding-block: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.creators__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.creators__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
}
.creator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.creator__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  padding: 2px;
  background: var(--bg-card);
  border: 2px solid var(--line);
  filter: grayscale(1);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease-out),
              filter 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.creator__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* Initials fallback avatar (used when no img is loaded) */
.creator__avatar--init {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--bg-card);
  position: relative;
}
.creator__avatar--init img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: none;
}
.creator__avatar--init.has-photo img { display: block; }
.creator__avatar--init::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.creator__avatar--init.has-photo::after { display: none; }
.creator__avatar--init.has-photo img { display: block; }
.creator:hover .creator__avatar {
  transform: translateY(-4px) scale(1.05);
  filter: grayscale(0);
  border-color: var(--accent);
  box-shadow: 0 8px 22px -8px rgba(30,224,122,0.6);
}
.creator__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  transition: color 0.2s var(--ease-out);
}
.creator:hover .creator__name { color: var(--text); }

/* =========================================================
   Portfolio Grid
   ========================================================= */
.work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

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

.card-video {
  display: block;
  border-radius: var(--r-md);
  transition: transform 0.2s var(--ease);
}
.card-video:hover { transform: translateY(-6px); }
.card-video__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bg-card);
  box-shadow: 0 6px 20px -10px rgba(0,0,0,0.8);
  transition: box-shadow 0.2s var(--ease-out);
}
.card-video:hover .card-video__media { box-shadow: 0 18px 40px -16px rgba(30,224,122,0.5); }
.card-video__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}
.card-video:hover .card-video__media img { transform: scale(1.08); }
.card-video__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(12,12,17,0.1), rgba(30,224,122,0.25));
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}
.card-video:hover .card-video__overlay { opacity: 1; }
.card-video__play {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: var(--glow);
  transform: scale(0.7);
  transition: transform 0.25s var(--ease);
}
.card-video:hover .card-video__play { transform: scale(1); }
.card-video__play svg { width: 20px; height: 20px; margin-left: 3px; fill: #fff; }

.card-video__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}
.card-video__title {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.card-video__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Load More ---------- */
.more-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}
.is-hidden-more { display: none !important; }

/* =========================================================
   Reviews
   ========================================================= */
.reviews {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 24px);
  margin-top: 40px;
}
.review {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease-out),
              box-shadow 0.2s var(--ease-out);
}
.review:hover {
  transform: translateY(-6px);
  border-color: rgba(30,224,122,0.5);
  box-shadow: 0 20px 44px -20px rgba(30,224,122,0.5);
}
.review__text {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--line);
  transition: border-color 0.2s var(--ease-out);
}
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__author:hover .review__avatar { border-color: var(--accent); }
.review__meta { display: flex; flex-direction: column; }
.review__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
}
.review__handle { font-size: 13px; color: var(--accent-2); }

/* =========================================================
   Archive Page (category filtering)
   ========================================================= */
.archive {
  padding-top: calc(var(--nav-h) + clamp(36px, 7vw, 80px));
  padding-bottom: clamp(56px, 9vw, 104px);
}
.archive__head { margin-bottom: 40px; }
.archive__intro {
  color: var(--text-dim);
  max-width: 56ch;
  margin-top: 18px;
  font-size: 16px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter {
  padding: 10px 22px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-card);
  transition: transform 0.18s var(--ease), color 0.18s var(--ease-out),
              border-color 0.18s var(--ease-out), background 0.18s var(--ease-out),
              box-shadow 0.18s var(--ease-out);
}
.filter:hover { color: var(--text); border-color: rgba(30,224,122,0.5); transform: translateY(-1px); }
.filter.is-active {
  color: #08120c;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 6px 18px -6px rgba(30,224,122,0.6);
}
.card-video.is-hidden { display: none; }
.archive__empty {
  color: var(--text-mute);
  font-size: 15px;
  text-align: center;
  padding-block: 40px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: #08080c;
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 80px) 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  gap: clamp(28px, 4vw, 52px);
}
.footer__brand {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.footer__tagline { color: var(--text-mute); font-size: 14px; max-width: 32ch; }

.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--text-dim); font-size: 14.5px; transition: color 0.18s var(--ease-out); }
.footer__col a:hover { color: var(--text); }

.newsletter p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 16px; }
.newsletter__form {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-card);
  padding: 4px;
  transition: border-color 0.18s var(--ease-out);
}
.newsletter__form:focus-within { border-color: var(--accent); }
.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 11px 16px;
  font-size: 14px;
}
.newsletter__form input:focus { outline: none; }
.newsletter__form button {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-pill);
  padding: 0 22px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(30,224,122,0.25);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.newsletter__form button:hover {
  transform: scale(1.03);
  background: rgba(30,224,122,0.38);
  border-color: rgba(255,255,255,0.45);
  box-shadow:
    0 6px 22px rgba(0,0,0,0.3),
    0 0 26px rgba(30,224,122,0.6),
    inset 0 1px 0 rgba(255,255,255,0.5);
}
.newsletter__form button:active { transform: scale(0.97); }
.newsletter__msg { font-size: 13px; color: var(--accent-2); margin-top: 10px; min-height: 16px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 13px;
}
.footer__bottom nav { display: flex; gap: 24px; }
.footer__bottom a { transition: color 0.18s var(--ease-out); }
.footer__bottom a:hover { color: var(--text); }

/* =========================================================
   Contact Page
   ========================================================= */
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(36px, 7vw, 80px));
  padding-bottom: clamp(56px, 9vw, 104px);
  background:
    radial-gradient(80% 50% at 85% 0%, rgba(30,224,122,0.18), transparent 60%),
    radial-gradient(60% 40% at 0% 100%, rgba(92,240,143,0.12), transparent 60%);
}
.contact__head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.contact__intro {
  color: var(--text-dim);
  max-width: 54ch;
  margin: 18px auto 0;
  font-size: 16px;
}
.contact__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,224,122,0.22);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-2) 50%),
                    linear-gradient(135deg, var(--accent-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form__status { font-size: 14px; color: var(--accent-2); min-height: 18px; }

.contact-info {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-info__block h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.contact-info__block a { font-size: 16px; color: var(--text); transition: color 0.18s var(--ease-out); }
.contact-info__block a:hover { color: var(--accent-2); }
.contact-info__socials { display: flex; gap: 12px; }
.contact-info__socials a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out),
              transform 0.18s var(--ease), border-color 0.18s var(--ease-out);
}
.contact-info__socials a:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   Video Lightbox / Modal
   ========================================================= */
.vbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(5, 6, 9, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out), visibility 0.25s var(--ease-out);
}
.vbox.is-open { opacity: 1; visibility: visible; }

.vbox__stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}
.vbox.is-open .vbox__stage { transform: scale(1); }

.vbox__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.vbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Glass close button (extends .btn) */
.vbox__close {
  position: absolute;
  top: clamp(12px, 3vw, 22px);
  right: clamp(12px, 3vw, 22px);
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  gap: 0;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  line-height: 1;
  border-radius: 50%;
}

@media (max-width: 680px) {
  .vbox { padding: 0; }
  .vbox__stage { max-width: 100%; }
  .vbox__frame { border-radius: 0; }
}

/* =========================================================
   Scroll reveal (snappier than before)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact__layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(12,12,17,0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease-out);
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: 18px 0; }

  .grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
