/* Self-hosted clone of dorartmuja.framer.website — colors & type from Framer SSR */

:root {
  --bg: #000000;
  --surface: #0a0a0a;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --accent-gold: #ffb800;
  --accent-gold-hover: #ffb700;
  --accent-blue: #009dff;
  --nav-text: #47351f;
  --open-work: rgb(2, 255, 39);
  --radius-pill: 9999px;
  --font-display: "Albert Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1120px;
  --nav-bg: #ffb800;
  --wx-gold: #ffb800;
  --wx-company-capslock: rgb(0, 255, 25);
  --wx-company-behinfluence: rgb(180, 120, 255);
  --wx-company-pecb: rgb(255, 0, 0);
  --wx-company-premiere: rgb(255, 255, 255);
  --wx-lang-native: rgb(241, 174, 0);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Fixed left section nav (desktop) ——— */
.side-nav {
  --side-nav-fill: 0;
  --section-nav-gold: #f5a800;
  --side-nav-muted: rgba(255, 255, 255, 0.5);
  /* Dot column width — rail is centered on this column */
  --side-nav-dot-track: 16px;
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  font-family: var(--font-body);
  pointer-events: auto;
}

/* Rail centered on the dot column (--side-nav-dot-track); dots use justify-self: center in that column */
.side-nav__wrap {
  position: relative;
}

.side-nav__rail {
  position: absolute;
  left: calc(var(--side-nav-dot-track) / 2);
  top: 18px;
  bottom: 18px;
  width: 2px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.side-nav__rail-bg {
  position: absolute;
  inset: 0;
  width: 2px;
  background: var(--side-nav-muted);
  border-radius: 1px;
}

.side-nav__rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--section-nav-gold);
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(245, 168, 0, 0.35);
  transform-origin: top center;
  transform: scaleY(var(--side-nav-fill, 0));
}

.side-nav__list {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav__item {
  position: relative;
  z-index: 2;
}

.side-nav__link {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--side-nav-dot-track) minmax(0, max-content);
  align-items: center;
  column-gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px 10px 0;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color 0.2s ease, font-weight 0.2s ease, background 0.15s ease;
}

/* Override global `a` / blue links / visited so nav stays readable and gold when active */
.side-nav .side-nav__link,
.side-nav .side-nav__link:link,
.side-nav .side-nav__link:visited {
  color: rgba(255, 255, 255, 0.5);
}

.side-nav .side-nav__link:hover {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.07);
}

.side-nav .side-nav__link.is-active:hover {
  background: rgba(245, 168, 0, 0.12);
}

.side-nav__dot {
  justify-self: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background-color: transparent;
  background-image: none;
  box-sizing: border-box;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.side-nav__label {
  white-space: nowrap;
}

/* Sections at or above scroll progress: filled dots stay gold (no glow) */
.side-nav .side-nav__link--passed .side-nav__dot {
  background-color: var(--section-nav-gold) !important;
  border-color: var(--section-nav-gold) !important;
  box-shadow: none;
  transform: none;
}

.side-nav .side-nav__link.is-active,
.side-nav .side-nav__link.is-active:link,
.side-nav .side-nav__link.is-active:visited {
  color: var(--section-nav-gold) !important;
  font-weight: 700;
}

/* Current section only: subtle glow as a light cue */
.side-nav .side-nav__link.is-active .side-nav__label {
  color: var(--section-nav-gold) !important;
  -webkit-text-fill-color: var(--section-nav-gold);
  text-shadow: 0 0 10px rgba(245, 168, 0, 0.4);
  filter: none;
}

.side-nav .side-nav__link.is-active .side-nav__dot {
  background-color: var(--section-nav-gold) !important;
  border-color: var(--section-nav-gold) !important;
  box-shadow: 0 0 8px rgba(245, 168, 0, 0.45);
  transform: none;
}

/* Passed but not current: label stays muted */
.side-nav .side-nav__link--passed:not(.is-active) .side-nav__label {
  color: rgba(255, 255, 255, 0.5) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

@media (max-width: 767px) {
  .side-nav {
    display: none !important;
  }
}

@media (min-width: 768px) {
  main {
    padding-left: 232px;
  }
}

/* ——— Mobile hamburger (<768px) ——— */
.mobile-nav {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1001;
}

@media (max-width: 767px) {
  .mobile-nav {
    display: block;
  }
}

.mobile-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.mobile-nav__toggle:hover {
  background: rgba(0, 0, 0, 0.6);
}

.mobile-nav__toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
}

.mobile-nav__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: min(88vw, 280px);
  padding: 12px 0;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.mobile-nav__panel[hidden] {
  display: none !important;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
}

.mobile-nav__inner a {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 8px;
}

.mobile-nav__inner a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  /* Allow performance image translateX to extend slightly past the content edge without clipping. */
  overflow: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 1;
}

.hero__deco {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(40px);
  mix-blend-mode: screen;
}

.hero__deco--1 {
  width: min(55vw, 520px);
  right: -8%;
  top: 18%;
}

.hero__deco--2 {
  width: min(50vw, 480px);
  left: -10%;
  bottom: 28%;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 32px 24px;
  box-sizing: border-box;
}

.hero__tagline-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
  max-width: min(100%, 52rem);
}

.hero__tagline-group .badge-open {
  margin-bottom: 0;
}

.hero__tagline-group .hero__role--tagline {
  margin-bottom: 0;
}

.badge-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-gold);
  color: var(--nav-text);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  font-family: var(--font-body);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.hero__role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero__role--tagline {
  font-weight: 800;
  font-size: clamp(15px, 4.2vw, 26px);
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  margin-bottom: 18px;
  max-width: min(100%, 52rem);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero__headline-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero__name-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero__name-row {
    gap: 44px;
  }

  .hero__photo {
    margin-left: 12px;
  }
}

.hero__photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f5a800;
}

.hero__title {
  flex: 0 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}

@media (max-width: 767px) {
  .hero__name-row {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Photo first in source order for column = photo above name */
  .hero__name-row .hero__photo {
    order: -1;
  }
}

/* Shift left by intrinsic 201px empty band at 1650px asset width (scales with displayed size). */
.hero__performance-image {
  display: block;
  width: auto;
  max-width: min(100%, 720px);
  height: auto;
  margin: -12px 0 6px;
  align-self: flex-start;
  transform: translateX(calc(-100% * 201 / 1650));
}

.hero__evidence-note {
  margin: 0 0 20px;
  max-width: min(100%, 52rem);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.45;
  color: var(--text-muted);
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding: 18px 40px;
  background: var(--accent-gold);
  color: var(--nav-text);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.2;
  text-decoration: none;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.hero__cta:hover {
  filter: brightness(1.08);
  text-decoration: none;
  color: var(--nav-text);
}

.hero__cta--secondary {
  background: transparent;
  color: #f5a800;
  border: 2px solid #f5a800;
  padding: 16px 38px;
  transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.hero__cta--secondary:hover {
  background-color: #f5a800;
  color: #000000;
  filter: none;
  text-decoration: none;
}

@media (max-width: 767px) {
  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta-row .hero__cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    padding: 18px 24px;
  }

  .hero__cta--secondary {
    padding: 16px 22px;
  }
}

.hero__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  font-size: 15px;
}

.hero__contacts a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hero__contacts a:hover {
  color: var(--accent-blue);
  text-decoration: none;
}

.hero__contacts svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.credit-photo {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.credit-photo a {
  color: var(--text-muted);
}

/* ——— Sections ——— */
.section {
  padding: 40px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.section--tight-top {
  padding-top: 22px;
}

.section__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section__label--gold {
  color: var(--wx-gold);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.section__sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 72ch;
}

.prose {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 72ch;
}

.prose p + p {
  margin-top: 1em;
}

/* ——— Featured work ——— */
.section--featured-work {
  padding-top: 22px;
}

.featured-work__subhead {
  margin: -8px 0 28px;
  max-width: 72ch;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.58);
}

.featured-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 980px) {
  .featured-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    gap: 28px;
    align-items: start;
  }

  /* Row 1: 16:9 hero | Rows 2–3: left stack (1:1 + 9:16), right tall 9:16 */
  .featured-work-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .featured-work-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .featured-work-card:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .featured-work-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: start;
  }
}

.featured-work-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-work-card__video {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.featured-work-card__video::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.featured-work-card__video--1-1::before {
  padding-bottom: 100%;
}

.featured-work-card__video--9-16::before {
  padding-bottom: 177.78%;
}

.featured-work-card__video--16-9::before {
  padding-bottom: 56.25%;
}

.featured-work-card__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.featured-work-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.featured-work-card__blurb {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  font-style: italic;
}

/* ——— AI workflow showcase ——— */
.section--ai-workflow {
  padding-top: 13px;
}

.ai-workflow__subhead {
  margin-bottom: 28px;
}

.ai-workflow-list {
  display: grid;
  gap: 42px;
}

.ai-workflow-entry {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-workflow-entry__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.ai-workflow-entry__image-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-workflow-entry__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.ai-workflow-entry__caption {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.ai-workflow-entry__link {
  margin-top: -2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.ai-workflow-entry__link:hover {
  color: var(--accent-blue);
  text-decoration: none;
}

.ai-workflow-entry__video {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.ai-workflow-entry__video::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.ai-workflow-entry__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.ai-workflow-entry__blurb {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
}

/* ——— Portfolio showcase (restructured) ——— */
.portfolio-subcategory {
  margin-top: 26px;
}

.portfolio-subcategory--divided {
  margin-top: 54px;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-subcategory__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

.portfolio-subcategory__note {
  margin: 10px 0 0;
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
}

.portfolio-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 960px) {
  .portfolio-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-grid--vertical-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

.portfolio-video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portfolio-video-card--full {
  margin-top: 26px;
}

.portfolio-video-card__media {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.portfolio-video-card__media::before {
  content: "";
  display: block;
}

.portfolio-video-card__media--wide::before {
  padding-bottom: 56.25%;
}

.portfolio-video-card__media--square::before {
  padding-bottom: 100%;
}

.portfolio-video-card__media--vertical::before {
  padding-bottom: 177.78%;
}

.portfolio-video-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.portfolio-video-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  color: var(--text);
}

.portfolio-video-card__blurb {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
}

/* ——— Video ——— */
.video-frame {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  margin-top: 28px;
}

.video-frame::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ——— Cards / jobs ——— */
.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 24px;
}

@media (min-width: 700px) {
  .card--split {
    grid-template-columns: min(200px, 38%) 1fr;
    align-items: start;
  }
}

.card__media {
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
}

.card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.card__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 4px;
}

.card__meta {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.card__company {
  font-weight: 600;
  color: var(--text);
}

.card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--text-muted);
}

.card li + li {
  margin-top: 0.45em;
}

/* ——— Work experience (Framer layout) ——— */
/* Archived portfolio content — remove .is-archived from markup to show again */
.is-archived {
  display: none !important;
}

.wx-work-cta {
  margin-bottom: 32px;
}

.videos-page {
  padding-top: 48px;
  padding-bottom: 64px;
}

.videos-page__nav {
  margin-bottom: 40px;
}

.videos-page__intro {
  margin: -8px 0 32px;
}

.videos-page__gallery {
  margin-top: 32px;
}

/* Each orientation renders in its own grid so every clip of a shape is one
   consistent size: horizontals large (2-up), squares medium (3-up),
   verticals tall (4-up). Keeps the gallery visually even across shapes. */
.video-group {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.video-group:last-child {
  margin-bottom: 0;
}

.video-group--wide {
  grid-template-columns: minmax(0, 1fr);
}

.video-group--square,
.video-group--vertical {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Squares stay 2-up at every width. There are 4 of them, so a 2×2 block fills
   evenly with no orphaned card / dead space (3-up would leave one on its own row). */
@media (min-width: 768px) {
  .video-group--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-group--vertical {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .video-group--vertical {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.videos-page__gallery .portfolio-video-card {
  margin: 0;
  width: 100%;
}

.videos-page__gallery .portfolio-video-card__media::before {
  display: none;
}

.videos-page__gallery .portfolio-video-card__media--wide {
  aspect-ratio: 16 / 9;
}

.videos-page__gallery .portfolio-video-card__media--square {
  aspect-ratio: 1 / 1;
}

.videos-page__gallery .portfolio-video-card__media--vertical {
  aspect-ratio: 9 / 16;
}

.portfolio-video-card--media-only {
  gap: 0;
}

.section--work {
  padding-top: 31px;
}

.wx-block {
  margin-bottom: 56px;
}

.wx-work-heading {
  margin-top: 0;
  margin-bottom: 48px;
}

.wx-job-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--wx-gold);
  margin: 0 0 12px;
}

.wx-dates {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--wx-gold);
  margin: 0 0 10px;
}

.wx-company {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 20px;
}

.wx-company--capslock {
  color: var(--wx-company-capslock);
}

.wx-company--behinfluence {
  color: var(--wx-company-behinfluence);
}

.wx-company--pecb {
  color: var(--wx-company-pecb);
}

.wx-company--premiere {
  color: var(--wx-company-premiere);
}

.wx-body {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  color: rgb(255, 255, 255);
  max-width: 72ch;
  margin-bottom: 8px;
}

.wx-body p {
  margin: 0 0 1em;
}

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

.wx-body strong {
  font-weight: 700;
  color: inherit;
}

.wx-line {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  color: rgb(255, 255, 255);
  margin: 0 0 0.35em;
  max-width: 72ch;
}

.wx-dash {
  color: var(--wx-gold);
  margin-right: 0.25em;
}

.wx-line--split {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.25em;
}

.wx-line--split .wx-dash {
  flex-shrink: 0;
}

.wx-additional-label {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 1.5em 0 0.75em;
  color: rgb(255, 255, 255);
}

.wx-additional-label strong {
  font-weight: 700;
}

/* ——— Skills & Tools (Framer) ——— */
.section--skills .section__label--gold {
  margin-bottom: 40px;
}

.skills-framer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 32px;
  max-width: 100%;
}

@media (min-width: 640px) {
  .skills-framer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    row-gap: 24px;
  }
}

.skill-framer-row {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.skill-framer-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--wx-gold);
}

.skill-framer-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: rgb(255, 255, 255);
  margin: 0;
  min-width: 0;
}

.skill-framer-text--lang {
  flex: 1;
}

.programs-framer {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 28px 32px;
}

@media (min-width: 900px) {
  .programs-framer {
    justify-content: space-between;
    gap: 24px 20px;
  }
}

.programs-framer__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  flex: 0 0 auto;
}

.programs-framer__icon {
  width: 65px;
  height: 65px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  position: relative;
}

.programs-framer__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.programs-framer__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin: 10px 0 0;
  width: 86px;
  margin-left: auto;
  margin-right: auto;
}

.skills-bottom {
  display: grid;
  gap: 48px;
  margin-top: 80px;
}

@media (min-width: 800px) {
  .skills-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}

.skills-bottom__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.02em;
  color: var(--wx-gold);
  margin: 0 0 20px;
}

.lang-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 24px;
  margin-bottom: 14px;
}

.lang-level {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0;
}

.lang-level--pro {
  color: var(--wx-gold);
}

.lang-level--native {
  color: var(--wx-lang-native);
}

.edu-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.edu-accent {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  padding-top: 4px;
  flex-shrink: 0;
}

.edu-accent span:first-child {
  width: 1px;
  height: 9px;
  background: rgba(255, 255, 255, 0.35);
}

.edu-accent span:last-child {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--wx-gold);
}

.edu-copy .skill-framer-text {
  margin-bottom: 8px;
}

.edu-meta {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
  color: var(--wx-gold);
  margin: 0;
  max-width: 36ch;
}

.mini-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

/* ——— Links / footer ——— */
.links-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  font-size: 17px;
}

.links-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.links-social__btn {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.links-social__btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.links-social__btn svg,
.links-social__btn img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.links-social__btn--drive {
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
}

.btn-cv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 28px;
  background: var(--accent-gold);
  color: var(--nav-text);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.btn-cv:hover {
  background: var(--accent-gold-hover);
  text-decoration: none;
  color: var(--nav-text);
}

.site-footer {
  padding: 48px 24px 80px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

