.elementor-65 .elementor-element.elementor-element-32d6823{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:-1px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-65 .elementor-element.elementor-element-7476ae6 > .elementor-widget-container{margin:0px -661px 0px -663px;}.elementor-65 .elementor-element.elementor-element-7476ae6.elementor-element{--flex-grow:1;--flex-shrink:0;}@media(max-width:1024px){.elementor-65 .elementor-element.elementor-element-7476ae6 > .elementor-widget-container{margin:0px 0px 0px 0px;}}@media(max-width:767px){.elementor-65 .elementor-element.elementor-element-32d6823{--justify-content:flex-start;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-65 .elementor-element.elementor-element-32d6823.e-con{--align-self:flex-start;}.elementor-65 .elementor-element.elementor-element-7476ae6 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}/* Start custom CSS for html, class: .elementor-element-7476ae6 *//* ==========================================================
   MATHEUS MODENA PORTFOLIO — STRATEGIC EDITORIAL v4
   Mobile-first fixes, WordPress-safe scope and lazy video UI
   ========================================================== */

.modena-portfolio,
.modena-portfolio *,
.modena-portfolio *::before,
.modena-portfolio *::after {
  box-sizing: border-box;
}

.modena-portfolio {
  --ink: #080809;
  --ink-soft: #0d0d10;
  --ink-lift: #121216;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.64);
  --dim: rgba(255, 255, 255, 0.4);
  --gold: #f2cf67;
  --gold-light: #ffedaa;
  --gold-dark: #b99436;
  --gold-glow: rgba(242, 207, 103, 0.18);

  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-heading: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --page-pad: clamp(16px, 4vw, 32px);
  --section-space: clamp(76px, 10vw, 126px);
  --header-height: 76px;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--text);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: #080809;
}

body {
  margin: 0;
  background: #080809;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

.modena-portfolio h1,
.modena-portfolio h2,
.modena-portfolio h3,
.modena-portfolio p {
  margin: 0;
}

.modena-portfolio img,
.modena-portfolio video {
  display: block;
  max-width: 100%;
}

.modena-portfolio a {
  color: inherit;
  text-decoration: none;
}

.modena-portfolio button,
.modena-portfolio input,
.modena-portfolio textarea,
.modena-portfolio select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - var(--page-pad) - var(--page-pad)));
  min-width: 0;
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: var(--ink-lift);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grain {
  position: fixed;
  inset: -150%;
  z-index: 999;
  width: 400%;
  height: 400%;
  pointer-events: none;
  opacity: 0.026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  animation: grainMove 8s steps(2) infinite;
}

@keyframes grainMove {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(2%, -3%); }
  50% { transform: translate(-3%, 2%); }
  75% { transform: translate(3%, 3%); }
}

/* Cursor only appears on desktop/fine pointers. */
.cursor-dot,
.cursor-ring {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .modena-portfolio,
  .modena-portfolio a,
  .modena-portfolio button,
  .modena-portfolio video {
    cursor: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: block;
  }

  .cursor-dot {
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: var(--gold-light);
    box-shadow: 0 0 18px rgba(242, 207, 103, 0.55);
  }

  .cursor-ring {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid rgba(242, 207, 103, 0.48);
    transition: width 0.22s var(--ease), height 0.22s var(--ease), margin 0.22s var(--ease), border-color 0.22s ease;
  }

  .cursor-active .cursor-ring {
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-color: rgba(255, 255, 255, 0.34);
  }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, border-color 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 9, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

body.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 16px rgba(242, 207, 103, 0.52);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.desktop-nav a:hover {
  color: var(--text);
  background: var(--surface-strong);
}

.desktop-nav .nav-cta {
  margin-left: 8px;
  padding-inline: 20px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.desktop-nav .nav-cta:hover {
  color: var(--ink);
  background: linear-gradient(135deg, #fff3c4, var(--gold));
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--surface);
}

.menu-toggle span {
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.24s var(--ease);
}

.menu-toggle.is-open span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 9, 0.98);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.mobile-nav-inner {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 18px;
}

.mobile-nav a {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--surface);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
}

.mobile-nav .mobile-nav-cta {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* Shared UI */
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 14px 38px rgba(242, 207, 103, 0.18);
}

.button-primary:hover {
  color: var(--ink);
  box-shadow: 0 18px 52px rgba(242, 207, 103, 0.28);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface);
}

.button-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--surface-strong);
}

.button-large {
  min-height: 54px;
  padding-inline: 32px;
  font-size: 0.94rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pill-gold {
  color: var(--gold-light);
  border-color: rgba(242, 207, 103, 0.26);
  background: rgba(242, 207, 103, 0.1);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border: 1px solid rgba(242, 207, 103, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(242, 207, 103, 0.05);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  text-stroke: 1.5px var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + clamp(56px, 7vw, 86px));
  padding-bottom: clamp(76px, 9vw, 110px);
  overflow: hidden;
}

.hero-background,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(9px) brightness(0.3) saturate(0.78);
  transform: scale(1.05);
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.32) 0%, rgba(8, 8, 9, 0.56) 54%, var(--ink) 100%),
    linear-gradient(90deg, rgba(8, 8, 9, 0.76) 0%, rgba(8, 8, 9, 0.24) 56%, rgba(8, 8, 9, 0.5) 100%);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(95px);
}

.hero-glow-one {
  width: 520px;
  height: 520px;
  top: 4%;
  right: -10%;
  background: rgba(242, 207, 103, 0.08);
}

.hero-glow-two {
  width: 420px;
  height: 420px;
  bottom: 8%;
  left: -12%;
  background: rgba(242, 207, 103, 0.05);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}

.hero-copy,
.hero-showcase {
  min-width: 0;
  max-width: 100%;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
}

.profile-chip-photo {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  overflow: hidden;
  border: 1px solid rgba(242, 207, 103, 0.75);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(242, 207, 103, 0.08), 0 16px 34px rgba(0, 0, 0, 0.38);
}

.profile-chip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.profile-role {
  margin-bottom: 3px !important;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-location {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-kicker {
  margin-bottom: 15px !important;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 820px;
  margin-bottom: 24px !important;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 9vw, 8.6rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0.015em;
}

.hero-title span {
  display: block;
}

.hero-title .outline-text {
  margin-top: 9px;
  font-size: 0.72em;
  line-height: 0.93;
}

.hero-description {
  max-width: 59ch;
  margin-bottom: 30px !important;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font-size: 0.78rem;
}

.availability-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #7ee2a8;
  box-shadow: 0 0 16px rgba(126, 226, 168, 0.48);
}

.hero-showcase {
  position: relative;
  padding: clamp(18px, 2.5vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-showcase::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(242, 207, 103, 0.1);
  filter: blur(68px);
  pointer-events: none;
}

.showcase-topline,
.showcase-heading {
  position: relative;
  z-index: 1;
}

.showcase-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.showcase-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.showcase-eyebrow {
  margin-bottom: 6px !important;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.showcase-heading h2 {
  max-width: 22ch;
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.65vw, 1.4rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.showcase-number {
  color: rgba(242, 207, 103, 0.25);
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #000;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-frame-vertical {
  aspect-ratio: 9 / 16;
}

.video-frame-horizontal {
  aspect-ratio: 16 / 9;
}

.video-frame-featured {
  width: min(100%, 340px);
  margin: 0 auto 18px;
}

.hero-showcase .tag-list {
  position: relative;
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, var(--gold));
}

.hero-enter {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEnter 0.82s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Moving strip */
.brand-strip {
  position: relative;
  overflow: hidden;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 207, 103, 0.018);
}

.brand-strip::before,
.brand-strip::after {
  content: "";
  position: absolute;
  inset-block: 0;
  z-index: 2;
  width: 90px;
  pointer-events: none;
}

.brand-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink), transparent);
}

.brand-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink), transparent);
}

.brand-strip-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  animation: stripMove 34s linear infinite;
}

.brand-strip-track span {
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.brand-strip-track i {
  color: var(--gold);
  font-size: 0.58rem;
  font-style: normal;
  opacity: 0.75;
}

@keyframes stripMove {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  position: relative;
  padding-block: var(--section-space);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px !important;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-title {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-title span {
  color: var(--gold);
}

.section-intro {
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.15vw, 1.04rem);
  line-height: 1.76;
}

.work-section {
  background:
    radial-gradient(circle at 85% 8%, rgba(242, 207, 103, 0.045), transparent 22%),
    var(--ink);
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.78fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.4);
}

.featured-project-copy,
.featured-project-media {
  min-width: 0;
}

.project-meta,
.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.project-meta {
  margin-bottom: 30px;
}

.project-index {
  flex-shrink: 0;
  color: rgba(242, 207, 103, 0.33);
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
}

.project-type,
.project-client {
  display: block;
  margin-bottom: 9px !important;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.featured-project h3 {
  max-width: 18ch;
  margin-bottom: 18px !important;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.featured-project-copy > p:not(.project-type) {
  max-width: 58ch;
  margin-bottom: 26px !important;
  color: var(--muted);
  line-height: 1.78;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.project-details div {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.project-details span,
.project-details strong {
  display: block;
}

.project-details span {
  margin-bottom: 4px;
  color: var(--dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.project-details strong {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.82rem;
}

.featured-project-media .video-frame {
  width: min(100%, 390px);
  margin-inline: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 207, 103, 0.2);
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.44);
}

.project-card-top {
  min-height: 75px;
  margin-bottom: 14px;
}

.project-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.project-card .project-index {
  font-size: 1.75rem;
}

.project-card .video-frame {
  margin-bottom: 16px;
}

.project-card-description {
  margin-bottom: 16px !important;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.project-card .tag-list {
  margin-top: auto;
}

.project-card-wide {
  grid-column: span 2;
}

.project-card-wide .video-frame-horizontal {
  max-height: 480px;
}


/* Capabilities */
.capabilities-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 20%),
    var(--ink-soft);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.capability-card {
  min-width: 0;
  min-height: 100%;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  transition: transform 0.28s var(--ease), border-color 0.28s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 207, 103, 0.2);
}

.capability-number {
  display: block;
  margin-bottom: 32px;
  color: rgba(242, 207, 103, 0.2);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.capability-card h3 {
  margin-bottom: 12px !important;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.capability-card p {
  margin-bottom: 20px !important;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

.workflow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.workflow-step {
  min-width: 0;
  text-align: center;
}

.workflow-step span,
.workflow-step strong,
.workflow-step small {
  display: block;
}

.workflow-step span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(242, 207, 103, 0.18);
}

.workflow-step strong {
  margin-bottom: 5px;
  font-family: var(--font-heading);
  font-size: 0.83rem;
}

.workflow-step small {
  color: var(--dim);
  font-size: 0.71rem;
  line-height: 1.5;
}

.workflow-line {
  width: clamp(18px, 3vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 207, 103, 0.1), rgba(242, 207, 103, 0.44), rgba(242, 207, 103, 0.1));
}

/* About */
.about-section {
  background:
    radial-gradient(circle at 12% 32%, rgba(242, 207, 103, 0.04), transparent 24%),
    var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.about-image,
.about-copy {
  min-width: 0;
}

.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--ink-lift);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 9, 0.72));
}

.about-image-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(8, 8, 9, 0.8);
  backdrop-filter: blur(14px);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy .section-title {
  margin-bottom: 26px !important;
}

.about-copy > p:not(.eyebrow) {
  max-width: 64ch;
  margin-bottom: 16px !important;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.1vw, 1.02rem);
  line-height: 1.82;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-block: 30px;
}

.about-stats div {
  padding: 18px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.about-stats strong,
.about-stats span {
  display: block;
}

.about-stats strong {
  margin-bottom: 4px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
}

.about-stats span {
  color: var(--dim);
  font-size: 0.72rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.text-link {
  color: var(--gold-light) !important;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link:hover {
  color: #fff !important;
}

/* Contact */
.contact-section {
  overflow: hidden;
  background: var(--ink-soft);
}

.contact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(840px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(242, 207, 103, 0.07);
  filter: blur(120px);
  transform: translate(-50%, -50%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.contact-inner h2 {
  margin-bottom: 24px !important;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 8rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-inner h2 span {
  display: block;
  margin-top: 8px;
}

.contact-inner > p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0 auto 32px !important;
  color: var(--muted);
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 11px;
  color: var(--dim);
  font-size: 0.82rem;
}

.contact-links a {
  font-weight: 600;
  transition: color 0.18s ease;
}

.contact-links a:hover {
  color: var(--gold);
}

/* Footer */
.site-footer {
  padding-block: 30px;
  border-top: 1px solid var(--line);
  background: #060607;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  color: var(--dim);
  font-size: 0.77rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Tablet */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 38px;
  }

  .hero-title {
    font-size: clamp(4rem, 9.4vw, 7rem);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card-wide {
    grid-column: span 2;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile / small tablet */
@media (max-width: 860px) {
  .modena-portfolio {
    --header-height: 68px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    align-items: stretch;
    padding-top: calc(var(--header-height) + 46px + env(safe-area-inset-top, 0px));
    padding-bottom: 68px;
  }

  .hero-grid,
  .featured-project,
  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-title {
    font-size: clamp(3.6rem, 15vw, 6.2rem);
  }

  .hero-title .outline-text {
    font-size: 0.69em;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-showcase {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .scroll-indicator {
    display: none;
  }

  .section-heading {
    gap: 20px;
  }

  .section-title {
    max-width: 16ch;
  }

  .section-intro {
    max-width: 60ch;
  }

  .featured-project {
    gap: 28px;
  }

  .featured-project-copy {
    order: 1;
  }

  .featured-project-media {
    order: 2;
  }

  .featured-project h3 {
    max-width: 24ch;
  }

  .featured-project-media .video-frame {
    width: min(100%, 360px);
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .workflow-line {
    display: none;
  }

  .about-grid {
    max-width: 680px;
  }

  .about-image {
    width: min(100%, 520px);
    max-height: none;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
  }
}

/* Phones */
@media (max-width: 600px) {
  .modena-portfolio {
    --header-height: 60px;
    --page-pad: 16px;
    --section-space: 76px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .header-inner {
    min-height: 60px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 38px + env(safe-area-inset-top, 0px));
    padding-bottom: 54px;
  }

  .hero-background img {
    object-position: 58% center;
    transform: scale(1.025);
  }

  .profile-chip {
    margin-bottom: 20px;
  }

  .profile-chip-photo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .profile-role {
    font-size: 0.65rem;
  }

  .profile-location {
    font-size: 0.77rem;
  }

  .hero-kicker {
    font-size: 0.6rem;
    line-height: 1.5;
  }

  .hero-title {
    margin-bottom: 18px !important;
    font-size: clamp(3.1rem, 16vw, 4.9rem);
    line-height: 0.87;
  }

  .hero-title .outline-text {
    margin-top: 7px;
    -webkit-text-stroke-width: 1px;
  }

  .hero-description {
    margin-bottom: 24px !important;
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .hero-actions,
  .contact-actions,
  .about-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .contact-actions .button,
  .about-actions .button {
    width: 100%;
  }

  .availability {
    align-items: flex-start;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .availability-dot {
    margin-top: 2px;
  }

  .hero-showcase {
    padding: 15px;
    border-radius: 24px;
  }

  .showcase-heading {
    gap: 10px;
  }

  .showcase-heading h2 {
    font-size: 1rem;
  }

  .showcase-number {
    font-size: 1.8rem;
  }

  .video-frame-featured {
    width: min(100%, 300px);
  }

  .brand-strip::before,
  .brand-strip::after {
    width: 36px;
  }

  .section-title {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .featured-project {
    padding: 20px 16px;
    border-radius: 25px;
  }

  .project-meta {
    margin-bottom: 22px;
  }

  .featured-project h3 {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
  }

  .project-details {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .project-card-wide {
    grid-column: auto;
  }

  .project-card {
    padding: 15px;
    border-radius: 23px;
  }

  .project-card-top {
    min-height: 66px;
  }

  .project-card .video-frame-vertical {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .workflow {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .workflow-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    text-align: left;
  }

  .workflow-step span {
    grid-row: 1 / 3;
    margin: 0;
  }

  .workflow-step strong,
  .workflow-step small {
    align-self: center;
  }

  .about-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 25px;
  }

  .about-image img {
    object-position: center 17%;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-inner h2 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .contact-inner h2 .outline-text {
    -webkit-text-stroke-width: 1px;
  }

  .contact-links {
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .modena-portfolio {
    --page-pad: 14px;
  }

  .hero-title {
    font-size: 2.9rem;
  }

  .pill {
    font-size: 0.6rem;
  }

  .tag-list span {
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-grain,
  .brand-strip-track,
  .hero-enter {
    animation: none;
  }

  .hero-enter,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .project-card,
  .capability-card {
    transition: none;
  }
}

/* ==========================================================
   v4.2 — WORDPRESS / ELEMENTOR MOBILE HARDENING
   Prevents theme rules from fixing the hero height or moving
   generic classes such as .hero, .container and .button.
   ========================================================== */

.modena-portfolio .container {
  position: relative;
  float: none !important;
  max-width: var(--container) !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.modena-portfolio .site-header,
.modena-portfolio .hero,
.modena-portfolio .hero-grid,
.modena-portfolio .hero-copy,
.modena-portfolio .hero-showcase,
.modena-portfolio .brand-strip,
.modena-portfolio .section,
.modena-portfolio .featured-project {
  float: none !important;
  max-height: none !important;
}

.modena-portfolio .button {
  position: relative !important;
  inset: auto !important;
  transform-origin: center;
  text-indent: 0 !important;
}

.modena-portfolio .hero {
  height: auto !important;
  max-height: none !important;
}

.modena-portfolio .hero-grid {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.modena-portfolio .hero-copy,
.modena-portfolio .hero-showcase {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  max-height: none !important;
}

.modena-portfolio .brand-strip {
  position: relative !important;
  clear: both !important;
  z-index: 3;
}

.modena-portfolio .section-title,
.modena-portfolio .hero-title {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

@media (max-width: 860px) {
  .modena-portfolio .hero {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding-top: calc(var(--header-height) + 34px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 56px !important;
    overflow: clip !important;
  }

  .modena-portfolio .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 32px !important;
    width: min(var(--container), calc(100% - var(--page-pad) - var(--page-pad))) !important;
  }

  .modena-portfolio .hero-copy,
  .modena-portfolio .hero-showcase {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .modena-portfolio .hero-showcase {
    max-width: 620px !important;
    margin-inline: auto !important;
  }

  .modena-portfolio .brand-strip {
    margin-top: 0 !important;
  }
}

@media (max-width: 600px) {
  .modena-portfolio .hero {
    padding-top: calc(var(--header-height) + 24px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 46px !important;
  }

  .modena-portfolio .hero-grid {
    gap: 26px !important;
  }

  .modena-portfolio .hero-title {
    font-size: clamp(2.95rem, 14.5vw, 4.4rem) !important;
    line-height: 0.88 !important;
  }

  .modena-portfolio .hero-actions {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .modena-portfolio .hero-actions .button {
    width: 100% !important;
    max-width: none !important;
    min-height: 50px !important;
  }

  /* Compact featured case on phones: copy on the left, video on the right. */
  .modena-portfolio .hero-showcase {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(118px, 34vw, 150px) !important;
    grid-template-areas:
      "featured-top featured-video"
      "featured-heading featured-video"
      "featured-tags featured-video" !important;
    column-gap: 14px !important;
    row-gap: 12px !important;
    align-items: start !important;
    padding: 16px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .modena-portfolio .showcase-topline {
    grid-area: featured-top;
    align-self: start;
    margin: 0 !important;
  }

  .modena-portfolio .showcase-heading {
    grid-area: featured-heading;
    display: block !important;
    margin: 0 !important;
  }

  .modena-portfolio .showcase-heading h2 {
    max-width: 17ch !important;
    font-size: 0.96rem !important;
    line-height: 1.28 !important;
  }

  .modena-portfolio .showcase-number {
    display: block;
    margin-top: 10px;
    font-size: 1.65rem !important;
  }

  .modena-portfolio .video-frame-featured {
    grid-area: featured-video;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    align-self: start;
    aspect-ratio: 9 / 16 !important;
    border-radius: 16px !important;
  }

  .modena-portfolio .hero-showcase .tag-list {
    grid-area: featured-tags;
    margin: 0 !important;
  }

  .modena-portfolio .hero-showcase .tag-list span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.62rem;
  }

  .modena-portfolio .section-title {
    max-width: 100% !important;
    font-size: clamp(2.45rem, 11.5vw, 3.65rem) !important;
    line-height: 0.92 !important;
  }

  .modena-portfolio .brand-strip::before,
  .modena-portfolio .brand-strip::after {
    width: 22px !important;
  }
}

@media (max-width: 390px) {
  .modena-portfolio .hero-showcase {
    grid-template-columns: minmax(0, 1fr) 116px !important;
    column-gap: 11px !important;
    padding: 14px !important;
  }

  .modena-portfolio .showcase-topline .pill:not(.pill-gold) {
    display: none;
  }

  .modena-portfolio .hero-showcase .tag-list span:nth-child(n + 3) {
    display: none;
  }

  .modena-portfolio .showcase-heading h2 {
    font-size: 0.9rem !important;
  }
}

/* ==========================================================
   V4.3 — FULL-PRODUCTION + CREATOR CASES
   ========================================================== */
.modena-portfolio .production-case {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(290px, 0.72fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  margin: clamp(28px, 4vw, 44px) 0;
  padding: clamp(24px, 4vw, 50px);
  overflow: hidden;
  border: 1px solid rgba(242, 207, 103, 0.18);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 16%, rgba(242, 207, 103, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(242, 207, 103, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.4);
}

.modena-portfolio .production-case-copy,
.modena-portfolio .production-case-media {
  min-width: 0;
}

.modena-portfolio .production-case h3 {
  max-width: 19ch;
  margin-bottom: 18px !important;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.modena-portfolio .production-case-copy > p:not(.project-type) {
  max-width: 60ch;
  margin-bottom: 26px !important;
  color: var(--muted);
  line-height: 1.78;
}

.modena-portfolio .production-case-media .video-frame {
  width: min(100%, 390px);
  margin-inline: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.modena-portfolio .production-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 25px;
}

.modena-portfolio .production-steps div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.modena-portfolio .production-steps span,
.modena-portfolio .production-steps strong,
.modena-portfolio .production-steps small {
  display: block;
}

.modena-portfolio .production-steps span {
  margin-bottom: 8px;
  color: rgba(242, 207, 103, 0.48);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.modena-portfolio .production-steps strong {
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
}

.modena-portfolio .production-steps small {
  color: var(--dim);
  font-size: 0.72rem;
  line-height: 1.45;
}

.modena-portfolio .creator-case {
  background:
    radial-gradient(circle at 82% 12%, rgba(242, 207, 103, 0.075), transparent 28%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.modena-portfolio .creator-case-heading {
  min-height: 0;
}

.modena-portfolio .creator-case-media {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 18px;
}

.modena-portfolio .creator-case-video {
  width: 100%;
  max-width: 330px;
  margin: 0 auto !important;
}

.modena-portfolio .creator-proof {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 12px;
}

.modena-portfolio .creator-proof-frame {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #09090b;
}

.modena-portfolio .creator-proof-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background: #09090b;
}

.modena-portfolio .creator-proof-frame figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(8, 8, 9, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.64rem;
  line-height: 1;
}

@media (max-width: 1040px) {
  .modena-portfolio .production-case {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.7fr);
  }

  .modena-portfolio .creator-case-media {
    grid-template-columns: minmax(180px, 0.68fr) minmax(0, 1.32fr);
  }
}

@media (max-width: 860px) {
  .modena-portfolio .production-case {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .modena-portfolio .production-case-copy {
    order: 1;
  }

  .modena-portfolio .production-case-media {
    order: 2;
  }

  .modena-portfolio .production-case h3 {
    max-width: 25ch;
  }

  .modena-portfolio .production-case-media .video-frame {
    width: min(100%, 360px);
  }

  .modena-portfolio .creator-case-media {
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  }
}

@media (max-width: 600px) {
  .modena-portfolio .production-case {
    padding: 20px 16px;
    border-radius: 25px;
  }

  .modena-portfolio .production-case h3 {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
  }

  .modena-portfolio .production-steps {
    grid-template-columns: 1fr;
  }

  .modena-portfolio .production-steps div {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
  }

  .modena-portfolio .production-steps span {
    grid-row: 1 / 3;
    margin: 0;
  }

  .modena-portfolio .creator-case-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .modena-portfolio .creator-case-video {
    width: min(100%, 340px);
  }

  .modena-portfolio .creator-proof {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    align-items: stretch;
  }

  .modena-portfolio .creator-proof-frame {
    min-height: 170px;
    border-radius: 15px;
  }

  .modena-portfolio .creator-proof-frame-wide,
  .modena-portfolio .creator-proof-frame-tall {
    aspect-ratio: auto;
  }

  .modena-portfolio .creator-proof-frame figcaption {
    left: 7px;
    bottom: 7px;
    max-width: calc(100% - 14px);
    padding: 5px 7px;
    white-space: normal;
    line-height: 1.25;
  }
}

@media (max-width: 390px) {
  .modena-portfolio .creator-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .modena-portfolio .creator-proof-frame {
    min-height: 190px;
  }
}



/* ==========================================================
   V4.5 — CURATED HIERARCHY + COMPACT CREATOR CASE
   ========================================================== */
.modena-portfolio .work-cluster {
  min-width: 0;
  margin-top: clamp(54px, 8vw, 96px);
}

.modena-portfolio .section-heading + .work-cluster {
  margin-top: 0;
}

.modena-portfolio .work-cluster-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
  margin-bottom: clamp(22px, 3.5vw, 38px);
  padding-top: clamp(18px, 2.5vw, 28px);
  border-top: 1px solid var(--line);
}

.modena-portfolio .section-heading + .work-cluster .work-cluster-header {
  padding-top: 0;
  border-top: 0;
}

.modena-portfolio .work-cluster-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 207, 103, 0.22);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(242, 207, 103, 0.045);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.modena-portfolio .work-cluster-eyebrow {
  margin-bottom: 6px !important;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modena-portfolio .work-cluster-header h3 {
  margin-bottom: 7px !important;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.modena-portfolio .work-cluster-header p:last-child {
  max-width: 74ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.68;
}

/* Podcast: one case, two correctly constrained formats. */
.modena-portfolio .multi-format-project {
  min-width: 0;
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 84% 12%, rgba(242, 207, 103, 0.09), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.38);
}

.modena-portfolio .multi-format-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.modena-portfolio .multi-format-copy {
  min-width: 0;
}

.modena-portfolio .multi-format-copy h3 {
  max-width: 24ch;
  margin-bottom: 14px !important;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.modena-portfolio .multi-format-copy > p:last-child {
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.75;
}

.modena-portfolio .multi-format-media {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.62fr);
  gap: clamp(16px, 2.8vw, 28px);
  align-items: start;
}

.modena-portfolio .format-delivery {
  min-width: 0;
}

.modena-portfolio .format-delivery-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.modena-portfolio .format-delivery-label span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1;
}

.modena-portfolio .format-delivery-label strong {
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modena-portfolio .format-delivery-vertical .video-frame {
  width: min(100%, 315px);
  margin-inline: auto;
}

.modena-portfolio .multi-format-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin-top: clamp(22px, 3vw, 32px);
}

/* Creator case: prevent screenshot rows from stretching to the video's full height. */
.modena-portfolio .creator-case {
  width: 100%;
  padding: clamp(20px, 3vw, 30px);
}

.modena-portfolio .creator-case-media {
  grid-template-columns: minmax(230px, 320px) minmax(0, 1fr) !important;
  gap: clamp(16px, 2.5vw, 26px) !important;
  align-items: start !important;
}

.modena-portfolio .creator-case-video {
  width: min(100%, 315px) !important;
  max-width: 315px !important;
  align-self: start;
}

.modena-portfolio .creator-proof {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: 12px !important;
  align-content: start !important;
  align-items: start !important;
}

.modena-portfolio .creator-proof-frame {
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
}

.modena-portfolio .creator-proof-frame-tall {
  height: clamp(280px, 31vw, 355px) !important;
}

.modena-portfolio .creator-proof-frame-wide {
  aspect-ratio: 2.454 / 1;
}

.modena-portfolio .creator-proof-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

/* Group-specific grid behavior. */
.modena-portfolio .project-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modena-portfolio .brazil-grid .project-card:last-child {
  grid-column: 2 / 3;
}

.modena-portfolio .project-card-top {
  min-height: 68px;
}

.modena-portfolio .project-card-description {
  min-height: 4.5em;
}

@media (max-width: 1040px) {
  .modena-portfolio .multi-format-media {
    grid-template-columns: minmax(0, 1.45fr) minmax(210px, 0.68fr);
  }

  .modena-portfolio .creator-case-media {
    grid-template-columns: minmax(210px, 300px) minmax(0, 1fr) !important;
  }

  .modena-portfolio .brazil-grid .project-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .modena-portfolio .multi-format-media {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 0.48fr);
  }

  .modena-portfolio .multi-format-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .modena-portfolio .creator-case-media {
    grid-template-columns: minmax(210px, 290px) minmax(0, 1fr) !important;
  }

  .modena-portfolio .creator-proof-frame-tall {
    height: 300px !important;
  }
}

@media (max-width: 600px) {
  .modena-portfolio .work-cluster {
    margin-top: 62px;
  }

  .modena-portfolio .work-cluster-header {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 22px;
  }

  .modena-portfolio .work-cluster-number {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .modena-portfolio .work-cluster-header h3 {
    font-size: 1.18rem;
  }

  .modena-portfolio .multi-format-project {
    padding: 20px 15px;
    border-radius: 25px;
  }

  .modena-portfolio .multi-format-heading,
  .modena-portfolio .multi-format-media {
    grid-template-columns: minmax(0, 1fr);
  }

  .modena-portfolio .multi-format-heading {
    gap: 12px;
  }

  .modena-portfolio .multi-format-heading .project-index {
    justify-self: start;
  }

  .modena-portfolio .format-delivery-horizontal .video-frame {
    width: 100%;
  }

  .modena-portfolio .format-delivery-vertical .video-frame {
    width: min(100%, 310px);
  }

  .modena-portfolio .creator-case {
    padding: 16px;
  }

  .modena-portfolio .creator-case-media {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .modena-portfolio .creator-case-video {
    width: min(100%, 310px) !important;
    margin-inline: auto !important;
  }

  .modena-portfolio .creator-proof {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .modena-portfolio .creator-proof-frame-tall {
    height: 285px !important;
  }

  .modena-portfolio .project-grid-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .modena-portfolio .project-card-description {
    min-height: 0;
  }
}

@media (max-width: 390px) {
  .modena-portfolio .creator-proof-frame-tall {
    height: 255px !important;
  }
}


/* ==========================================================
   v4.6 — LANGUAGE ARCHITECTURE + AI / ANIMATION
   Additive only: preserves the approved v4.5 responsive core.
   ========================================================== */

.modena-portfolio .language-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  margin: clamp(32px, 5vw, 58px) 0 clamp(54px, 7vw, 88px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(242, 207, 103, .16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 15%, rgba(242, 207, 103, .09), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  overflow: hidden;
}

.modena-portfolio .language-overview-copy {
  min-width: 0;
}

.modena-portfolio .language-overview-copy h3 {
  margin: 16px 0 12px;
  max-width: 16ch;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.modena-portfolio .language-overview-copy p {
  max-width: 56ch;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.72;
}

.modena-portfolio .language-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.modena-portfolio .language-card {
  min-width: 0;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8,8,9,.52);
  text-align: left;
}

.modena-portfolio .language-card > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border: 1px solid rgba(242,207,103,.28);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(242,207,103,.07);
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.modena-portfolio .language-card strong,
.modena-portfolio .language-card small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.modena-portfolio .language-card strong {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: .9rem;
}

.modena-portfolio .language-card small {
  margin-top: 4px;
  color: var(--dim);
  font-size: .72rem;
  line-height: 1.35;
}

.modena-portfolio .language-cluster-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.modena-portfolio .language-cluster-line .work-cluster-eyebrow {
  margin: 0;
}

.modena-portfolio .language-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(242,207,103,.28);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(242,207,103,.07);
  font-family: var(--font-heading);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .09em;
}

.modena-portfolio .subcluster-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: clamp(28px, 4vw, 44px) 0 16px;
  padding: 0 4px 14px;
  border-bottom: 1px solid var(--line);
}

.modena-portfolio .subcluster-heading span {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.modena-portfolio .subcluster-heading strong {
  color: var(--dim);
  font-size: .78rem;
  font-weight: 500;
  text-align: right;
}

.modena-portfolio .spanish-featured,
.modena-portfolio .latest-pt-project {
  margin-top: clamp(18px, 3vw, 28px);
}

.modena-portfolio .latest-pt-project {
  border-color: rgba(242, 207, 103, .19);
  background:
    radial-gradient(circle at 12% 12%, rgba(242,207,103,.08), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}

.modena-portfolio .ai-hero-card {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.modena-portfolio .ai-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.modena-portfolio .youtube-project-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(242,207,103,.18);
  border-radius: 999px;
  background: rgba(242,207,103,.05);
  white-space: nowrap;
}

/* Explicit sizing safety for every newly added composition. */
.modena-portfolio .language-overview,
.modena-portfolio .language-overview-grid,
.modena-portfolio .language-card,
.modena-portfolio .subcluster-heading,
.modena-portfolio .ai-card-footer,
.modena-portfolio .language-cluster,
.modena-portfolio .ai-cluster {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 980px) {
  .modena-portfolio .language-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .modena-portfolio .language-overview-copy h3 {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .modena-portfolio .language-overview {
    gap: 22px;
    padding: 20px;
    border-radius: 22px;
  }

  .modena-portfolio .language-overview-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .modena-portfolio .language-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "code name"
      "code market";
    align-items: center;
    column-gap: 12px;
    padding: 12px 14px;
  }

  .modena-portfolio .language-card > span {
    grid-area: code;
    margin: 0;
  }

  .modena-portfolio .language-card strong { grid-area: name; }
  .modena-portfolio .language-card small { grid-area: market; margin-top: 1px; }

  .modena-portfolio .subcluster-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .modena-portfolio .subcluster-heading strong {
    text-align: left;
  }

  .modena-portfolio .ai-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .modena-portfolio .youtube-project-link {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .modena-portfolio .language-overview {
    padding: 16px;
  }

  .modena-portfolio .language-overview-copy h3 {
    font-size: 1.45rem;
  }

  .modena-portfolio .language-card {
    padding: 10px 12px;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-32d6823 *//* ================================
   RESET + BASE
================================ */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #0A0A0A;
    color: #fff;
    overflow-x: hidden;
}

section {
    position: relative;
}

/* ================================
   HERO
================================ */
.hero {
    width: 100%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.8)
    );
    pointer-events: none;
}

.hero-logo {
    width: 115px;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0px 0px 10px rgba(255,255,255,.1)); }
    to   { filter: drop-shadow(0px 0px 22px rgba(255, 216, 90, .7)); }
}

.hero-title {
    font-size: 46px;
    font-weight: 700;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(1px);
    animation: fadeUp 1s forwards;
    opacity: 0;
}

.hero-sub {
    margin-top: 8px;
    font-size: 16px;
    opacity: .85;
    animation: fadeUp 1.4s forwards;
    opacity: 0;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ================================
   PORTFÓLIO GRID
================================ */

.portfolio {
    padding: 70px 80px;
    text-align: center;
}

.portfolio h2 {
    font-size: 34px;
    margin-bottom: 40px;
    position: relative;
}

.portfolio h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #FFD85A;
    display: block;
    margin: 12px auto 0;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(255, 216, 90, .6);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: #111;
    padding: 34px 20px;
    border-radius: 14px;
    height: 150px;
    border: 1px solid #1c1c1c;
    transition: .3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .3px;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #FFD85A;
    box-shadow: 0 0 18px rgba(255, 216, 90, 0.28);
}

/* ================================
   SOBRE MIM
================================ */
.sobre {
    padding: 70px 80px;
    text-align: center;
}

.sobre-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: .25;
    z-index: -1;
}

.sobre h2 {
    font-size: 32px;
    margin-bottom: 18px;
}

.sobre p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    opacity: .92;
    line-height: 1.7;
    backdrop-filter: blur(2px);
    padding: 10px 14px;
    border-radius: 6px;
}

/* ================================
   REDES SOCIAIS
================================ */
.social {
    text-align: center;
    margin-top: 70px;
    padding-bottom: 60px;
}

.social-icons img {
    width: 32px;
    margin: 0 10px;
    opacity: .7;
    transition: .3s ease;
}

.social-icons img:hover {
    opacity: 1;
    transform: scale(1.16);
    filter: drop-shadow(0px 0px 8px rgba(255,255,255,.4));
}

.footer-logo {
    width: 78px;
    margin-top: 26px;
    opacity: .75;
    transition: .4s ease;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.08);
    filter: drop-shadow(0 0 18px rgba(255,255,255,.25));
}

/* ================================
   RESPONSIVO MOBILE
================================ */
@media(max-width: 900px){

    .hero {
        height: 60vh;
    }

    .hero-title {
        font-size: 30px;
    }

    .portfolio {
        padding: 50px 20px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        height: 120px;
    }

    .sobre {
        padding: 40px 20px;
    }

    .sobre p {
        font-size: 15px;
    }
}/* End custom CSS */