/* Zilvox Studio visual system applied to the original landing content. */
:root {
  --bg: #f2f1ec;
  --card: #ffffff;
  --card-2: #ecebe5;
  --line: rgba(0, 0, 0, 0.16);
  --line-strong: #000;
  --accent: #ff2028;
  --accent-glow: transparent;
  --white: #f2f1ec;
  --gray: rgba(0, 0, 0, 0.6);
  --gray-dim: rgba(0, 0, 0, 0.42);
  --r: 0px;
  --pad-x: clamp(20px, 5vw, 80px);
}
html {
  background: #f2f1ec;
}
body {
  background: var(--bg);
  color: #000;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  cursor: auto;
}
::selection {
  background: var(--accent);
  color: #fff;
}
.display {
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
  line-height: 0.87;
  letter-spacing: -0.025em;
}
.serif {
  font-family: Inter, system-ui, sans-serif;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
}
.mono {
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.68rem;
  color: var(--gray-dim);
}
.accent {
  color: var(--accent);
}
.cursor {
  display: none !important;
}
@media (pointer: fine) {
  body,
  a,
  button,
  input,
  textarea,
  .hoverable {
    cursor: auto;
  }
}
@media (hover: hover) and (pointer: fine) {
  #about .portrait:hover {
    filter: grayscale(0) contrast(1.03);
  }
}

/* Navigation */
nav {
  height: 64px;
  padding: 0 var(--pad-x);
  background: #000;
  border-bottom: 2px solid rgba(242, 241, 236, 0.2);
  color: #f2f1ec;
}
nav.scrolled {
  padding: 0 var(--pad-x);
  background: #000;
  backdrop-filter: none;
  border-bottom-color: rgba(242, 241, 236, 0.2);
}
.logo-nav img {
  height: 34px;
  filter: none;
}
.nav-links {
  gap: 28px;
}
.nav-links a {
  font-family: "Space Mono", monospace;
  color: rgba(242, 241, 236, 0.65);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a::after {
  height: 2px;
  background: var(--accent);
}
.hire {
  border: 2px solid #f2f1ec;
  border-radius: 0;
  background: transparent;
  color: #f2f1ec;
  padding: 10px 14px;
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hire:hover {
  background: #f2f1ec;
  color: #000;
  transform: none;
}
.hire .live {
  display: none;
}
.nav-toggle span {
  background: #f2f1ec;
  border-radius: 0;
}
.mob-nav {
  /* Override the shared `nav` height/padding: this is a full-screen layer. */
  height: 100dvh;
  min-height: 100vh;
  padding: 76px var(--pad-x) 40px;
  background: #000;
  border-top: 2px solid rgba(242, 241, 236, 0.2);
  backdrop-filter: none;
}
.mob-nav a {
  font-family: "Archivo Black", sans-serif;
  color: #f2f1ec;
}
.mob-nav .mob-cta {
  border-radius: 0;
  background: var(--accent);
}

/* Shared geometry */
section {
  padding: clamp(76px, 10vw, 136px) var(--pad-x);
  border-bottom: 2px solid #000;
}
.eyebrow {
  margin-bottom: 30px;
  gap: 12px;
}
.eyebrow .rule {
  width: 42px;
  background: #000;
}
.js .reveal {
  transform: translateY(18px);
  transition:
    opacity 0.24s ease-out,
    transform 0.24s ease-out;
}
.js .reveal.in {
  transform: none;
}
.btn {
  border-radius: 0;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 14px 20px;
  border: 2px solid #000;
}

/* Hero: direct adaptation of the studio grid layout */
.hero {
  background: #000;
  color: #f2f1ec;
  min-height: 100svh;
  padding-top: calc(64px + clamp(68px, 8vw, 120px));
  padding-bottom: 58px;
  justify-content: flex-start;
  border-color: #000;
}
.hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 241, 236, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 241, 236, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 12) 64px;
  opacity: 1;
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
}
.hero::after {
  display: none;
}
.hero-eyebrow {
  margin-top: 0;
  margin-bottom: clamp(48px, 8vw, 110px);
  justify-content: space-between;
}
.hero-eyebrow .rule {
  background: var(--accent);
  width: 18px;
  height: 9px;
}
.hero-eyebrow .mono {
  color: rgba(242, 241, 236, 0.58);
}
.hero h1 {
  font-size: clamp(3.1rem, 7.2vw, 8rem);
  max-width: 18ch;
  position: relative;
}
.hero h1 .serif {
  font-family: inherit;
  font-size: inherit;
}
.cursor-blink {
  display: none;
}
.hero-copy {
  font-family: Inter, sans-serif;
  color: rgba(242, 241, 236, 0.7);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 45ch;
  margin: 50px 0 30px;
}
.hero-copy b {
  color: #f2f1ec;
}
.hero-copy .accent {
  color: var(--accent);
}
.cta-row {
  gap: 0;
}
.hero .btn {
  color: #f2f1ec;
  border-color: #f2f1ec;
}
.hero .btn-fill {
  background: #f2f1ec;
  color: #000;
}
.hero .btn-fill .ico {
  display: none;
}
.hero .btn:hover {
  background: #f2f1ec;
  color: #000;
  transform: none;
}
.hero .btn-ghost {
  border-left: 0;
}
.stat-bar {
  border: 0;
  border-radius: 0;
  margin-top: clamp(54px, 8vw, 100px);
  overflow: visible;
  max-width: none;
  border-top: 2px solid rgba(242, 241, 236, 0.24);
  border-bottom: 2px solid rgba(242, 241, 236, 0.24);
}
.stat {
  padding: 22px 18px;
  border-left: 2px solid rgba(242, 241, 236, 0.24);
}
.stat:first-child {
  border-left: 0;
}
.stat .num {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  color: #f2f1ec;
}
.scroll-ind {
  display: none;
}

/* About */
#about {
  background: #f2f1ec;
}
.about-grid {
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(35px, 7vw, 120px);
  margin-top: 8px;
}
.portrait {
  border-radius: 0;
  border: 2px solid #000;
  background: #000;
  filter: grayscale(1);
  transition: filter 0.18s ease-out;
}
.portrait-wrap {
  padding-top: 22px;
}
.sticky-note {
  display: none;
}
.info-card {
  border-radius: 0;
  border: 2px solid #000;
  background: transparent;
  padding: 14px 16px;
  margin-top: 0;
  border-top: 0;
}
.info-card .mono {
  color: var(--gray-dim);
}
.about-body {
  padding-top: clamp(20px, 5vw, 90px);
}
.sec-head {
  font-size: clamp(2.3rem, 5.8vw, 6rem);
  max-width: 13ch;
}
.about-body p {
  color: var(--gray);
  font-size: 1.03rem;
  line-height: 1.65;
}
.about-body p b {
  color: #000;
}
.spec-row {
  gap: 0;
  border-top: 2px solid #000;
  margin-top: 38px;
}
.spec {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
}
.spec:first-child {
  padding-left: 0;
}
.spec:last-child {
  border-right: 0;
}
.spec .mono {
  color: var(--accent);
}

/* Selected work becomes the studio-style hard-edged gallery */
#work {
  background: #fff;
}
.work-top {
  border-bottom: 2px solid #000;
  padding-bottom: 34px;
}
.counter .mono {
  color: var(--gray-dim);
}
.masonry {
  columns: 2;
  column-gap: 24px;
  margin-top: 42px;
}
.proj {
  border-radius: 0;
  border: 2px solid #000;
  margin-bottom: 24px;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.proj:hover {
  transform: none;
  border-color: #000;
}
.proj .thumb {
  filter: grayscale(1) contrast(1.08);
}
.proj:hover .thumb {
  transform: scale(1.025);
  filter: grayscale(0) contrast(1.05);
}
.proj .over {
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.85));
}
.proj .badge {
  border-radius: 0;
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  padding: 7px 9px;
  backdrop-filter: none;
}
.proj .cat {
  background: var(--accent);
}
.proj .dur {
  border-color: rgba(242, 241, 236, 0.5);
}
.proj .meta {
  padding: 18px;
}
.proj .meta .mono {
  color: rgba(242, 241, 236, 0.7);
}
.proj .meta h3 {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
}
.proj .play-btn {
  border-radius: 0;
  background: #f2f1ec;
  border: 2px solid #000;
  color: #000;
}
.proj .play-btn svg {
  fill: #000;
}
.proj:hover .play-btn {
  opacity: 1;
}
.p-tall {
  min-height: 500px;
}
.p-mid {
  min-height: 370px;
}
.p-short {
  min-height: 315px;
}

/* Toolkit */
#skills {
  background: #000;
  color: #f2f1ec;
  border-color: #000;
}
#skills .eyebrow .rule {
  background: var(--accent);
}
#skills .mono {
  color: rgba(242, 241, 236, 0.5);
}
#skills .sec-head {
  color: #f2f1ec;
}
.marquee {
  margin: 54px 0;
  border-top: 2px solid rgba(242, 241, 236, 0.24);
  border-bottom: 2px solid rgba(242, 241, 236, 0.24);
  padding: 20px 0;
  mask-image: none;
}
.marquee-track span {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.1rem, 5.2vw, 5.3rem);
  -webkit-text-stroke: 1px rgba(242, 241, 236, 0.45);
}
.marquee-track span::before {
  content: "+";
  color: var(--accent);
}
.skill-grid {
  gap: 0;
  border-top: 2px solid rgba(242, 241, 236, 0.24);
  border-left: 2px solid rgba(242, 241, 236, 0.24);
}
.skill {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 25px 22px;
  border-right: 2px solid rgba(242, 241, 236, 0.24);
  border-bottom: 2px solid rgba(242, 241, 236, 0.24);
  transition:
    background 0.2s,
    color 0.2s;
}
.skill:hover {
  background: #f2f1ec;
  color: #000;
  transform: none;
}
.skill .idx {
  color: var(--accent);
}
.skill .rule {
  background: rgba(242, 241, 236, 0.24);
}
.skill:hover .rule {
  background: #000;
}
.skill h3 {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
}
.skill p {
  color: rgba(242, 241, 236, 0.65);
}
.skill:hover p {
  color: rgba(0, 0, 0, 0.65);
}

/* Reviews */
#reviews {
  background: #f2f1ec;
}
.review-card {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
  padding: clamp(28px, 5vw, 62px);
  margin-top: 42px;
}
.quote-mark {
  font-family: "Archivo Black", sans-serif;
  color: var(--accent);
  font-style: normal;
}
.review-slide blockquote {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.6rem, 3.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.review-slide blockquote em {
  font-style: normal;
  color: var(--accent);
}
.reviewer .av {
  border-radius: 0;
  background: var(--accent);
}
.reviewer .mono {
  color: var(--gray-dim);
}
.stars {
  color: var(--accent);
}
.review-nav {
  border-top: 2px solid #000;
  margin-top: 36px;
  padding-top: 18px;
}
.dots button {
  border-radius: 0;
}
.dots button.active {
  background: var(--accent);
}
.arrows button {
  border-radius: 0;
  border: 2px solid #000;
}
.arrows button:hover {
  background: #000;
  color: #fff;
}

#contact {
  background: #000;
  color: #f2f1ec;
  border-color: #000;
}
.contact-grid {
  gap: clamp(40px, 8vw, 130px);
}
#contact .eyebrow .rule {
  background: var(--accent);
}
#contact .mono {
  color: rgba(242, 241, 236, 0.5);
}
#contact .sec-head {
  color: #f2f1ec;
}
.contact-intro p {
  color: rgba(242, 241, 236, 0.65);
}
.contact-intro .aside {
  color: var(--accent);
}
#contact .method {
  border-radius: 0;
  border-color: rgba(242, 241, 236, 0.25);
  background: transparent;
  color: #f2f1ec;
}
#contact .method:hover {
  background: #f2f1ec;
  color: #000;
  transform: none;
}
#contact .method .bub {
  border-radius: 0;
}
.method .info .mono {
  color: inherit;
  opacity: 0.6;
}
.method .val {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 0.94rem;
}
.form {
  border: 2px solid #f2f1ec;
  border-radius: 0;
  background: transparent;
  padding: clamp(22px, 3vw, 38px);
}
.field {
  border-color: rgba(242, 241, 236, 0.4);
}
.field label {
  font-family: "Space Mono", monospace;
  color: rgba(242, 241, 236, 0.6);
}
#contact .field input,
#contact .field textarea {
  background: transparent !important;
  color: #f2f1ec;
  border-color: rgba(242, 241, 236, 0.4);
  border-radius: 0;
  font-family: Inter, sans-serif;
}
#contact .field input:focus,
#contact .field textarea:focus {
  border-color: var(--accent);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(242, 241, 236, 0.38);
}
.submit {
  border-radius: 0;
  background: #f2f1ec;
  color: #000;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.submit:hover {
  transform: none;
  background: var(--accent);
  color: #fff;
}
.consent {
  color: rgba(242, 241, 236, 0.45);
}

/* Footer and overlays */
footer {
  background: #000;
  color: #f2f1ec;
  border: 0;
  padding: 75px var(--pad-x) 0;
}
.logo-foot img {
  height: 58px;
}
.foot-top {
  border-bottom: 2px solid rgba(242, 241, 236, 0.24);
  padding-bottom: 38px;
}
.foot-brand p {
  color: rgba(242, 241, 236, 0.6);
}
.to-top {
  border-radius: 0;
  border: 2px solid #f2f1ec;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.to-top:hover {
  background: #f2f1ec;
  color: #000;
}
.foot-marquee {
  margin: 0 -1px;
  border-bottom: 2px solid rgba(242, 241, 236, 0.24);
  padding: 20px 0;
}
.foot-marquee .marquee-track span {
  color: #f2f1ec;
  -webkit-text-stroke: 0;
  font-size: clamp(2.3rem, 5vw, 5rem);
}
.foot-bottom {
  border-top: 0;
  color: rgba(242, 241, 236, 0.45);
}
.foot-bottom .mono {
  color: inherit;
}
.vid-modal .mbox {
  border-radius: 0;
  border: 1px solid rgba(242, 241, 236, 0.68);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}
.vid-modal .mtop {
  border-color: rgba(242, 241, 236, 0.25);
}
.vid-modal .mtitle {
  color: rgba(242, 241, 236, 0.68);
}
.vid-modal .mclose {
  border-radius: 0;
}
.vid-modal.is-portrait .mbox {
  width: min(1040px, 100%);
}
.vid-modal.is-portrait .video-stage {
  display: grid;
  place-items: center;
  height: min(72vh, 640px);
  isolation: isolate;
  overflow: hidden;
  background: #080808;
}
.vid-modal.is-portrait .video-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -36px;
  background: var(--video-poster) center / cover no-repeat;
  filter: blur(28px) brightness(0.3) saturate(0.78);
  transform: scale(1.08);
  opacity: 0.9;
}
.vid-modal.is-portrait .video-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 28% 72%, rgba(0, 0, 0, 0.42));
}
.vid-modal.is-portrait iframe {
  position: relative;
  z-index: 1;
  place-self: center;
  width: min(360px, 40vh, 100%);
  height: auto;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  box-shadow: 0 0 0 1px rgba(242, 241, 236, 0.16);
}
.vid-modal.is-portrait .video-loading {
  z-index: 2;
  background: rgba(8, 8, 8, 0.56);
}
.fab {
  border-radius: 0;
  background: var(--accent);
}
.chat-btn {
  border-radius: 0;
  background: #000;
  border: 2px solid #f2f1ec;
}
.chat-panel {
  border-radius: 0;
  border: 2px solid #000;
}

@media (max-width: 760px) {
  .fab,
  .chat {
    display: none;
  }
  nav {
    height: 58px;
  }
  .logo-nav img {
    height: 29px;
  }
  .hire {
    display: none;
  }
  .hero {
    padding-top: 110px;
  }
  .hero-eyebrow {
    margin-bottom: 55px;
  }
  .hero h1 {
    font-size: clamp(2.85rem, 15vw, 5rem);
  }
  .hero-copy {
    margin-top: 34px;
  }
  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
    border-top: 2px solid rgba(242, 241, 236, 0.24);
  }
  .stat:nth-child(4) {
    border-top: 2px solid rgba(242, 241, 236, 0.24);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-body {
    padding-top: 0;
  }
  .info-card {
    font-size: 0.9rem;
  }
  .masonry {
    columns: 1;
  }
  .p-tall,
  .p-mid,
  .p-short {
    min-height: 360px;
  }
  .skill-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .foot-top {
    gap: 28px;
  }
  .foot-bottom {
    flex-direction: column;
    padding: 22px 0;
  }
  .nav-links {
    display: none;
  }
}

/* Keep the studio's sharp interaction language: feedback, never a layout jump. */
.nav-links a,
.method,
.to-top,
.arrows button {
  transition:
    background 0.18s ease-out,
    color 0.18s ease-out,
    border-color 0.18s ease-out,
    transform 0.18s ease-out;
}
.btn:focus-visible,
.hire:focus-visible,
.proj:focus-visible,
.method:focus-visible,
.to-top:focus-visible,
.fab:focus-visible,
.chat-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .proj .thumb {
    transition:
      filter 0.18s ease-out,
      transform 0.18s ease-out;
  }
  .fab:hover,
  .chat-btn:hover {
    transform: none;
  }
  .fab:hover {
    background: #f2f1ec;
  }
  .fab:hover svg {
    fill: #000;
  }
  .chat-btn:hover {
    background: #f2f1ec;
    border-color: #f2f1ec;
  }
  .chat-btn:hover svg {
    fill: #000;
  }
}
.btn:active,
.hire:active,
.proj:active,
.skill:active,
.method:active,
.to-top:active,
.fab:active,
.chat-btn:active,
.arrows button:active {
  transform: scale(0.98);
}
