/* === variables.css === */
:root {
  /* === BACKGROUNDS === */
  --bg-primary: #0A0A0A;
  --bg-secondary: #111112;
  --bg-card: #1A1A1C;
  --bg-card-hover: #222224;
  --bg-elevated: #2B2F39;
  --bg-overlay: rgba(0, 0, 0, 0.8);

  /* === TEXT === */
  --text-primary: #FFFFFF;
  --text-secondary: #F6F6F6;
  --text-muted: #8A8A91;
  --text-subtle: #C0C0C0;
  --text-disabled: #333336;

  /* === ACCENT (bianco al posto dell'arancione Arpeggio) === */
  --accent: #FFFFFF;
  --accent-gradient: linear-gradient(135deg, #E6E6E6 0%, #FFFFFF 100%);
  --accent-dot: #FFFFFF;
  --accent-hover: #F0F0F0;

  /* === BORDERS === */
  --border: #222224;
  --border-light: #333336;
  --border-white: rgba(255, 255, 255, 0.1);

  /* === SPECIAL === */
  --green-highlight: #82FF28;
  --backdrop-blur: blur(6px);

  /* === TYPOGRAPHY === */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --h1-size: clamp(48px, 7vw, 96px);
  --h1-weight: 400;
  --h1-line-height: 1.15;

  --h2-size: clamp(32px, 4.5vw, 64px);
  --h2-weight: 500;
  --h2-line-height: 1.15;

  --h3-size: clamp(20px, 2vw, 32px);
  --h3-weight: 600;
  --h3-line-height: 1.3;

  --body-size: 17px;
  --body-weight: 400;
  --body-line-height: 1.65;

  --label-size: 11px;
  --label-weight: 400;
  --label-transform: uppercase;
  --label-spacing: 0.2em;

  --project-title-size: clamp(40px, 5vw, 72px);
  --project-title-weight: 400;

  --service-num-size: 14px;
  --service-num-color: var(--accent);

  --btn-size: 16px;
  --btn-weight: 500;

  /* === LAYOUT === */
  --container-max: 1400px;
  --container-pad: 24px;
  --section-pad: clamp(80px, 12vw, 160px);
}

/* === reset.css === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  line-height: 1;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

/* === base.css === */
body {
  font-family: var(--font);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  color: var(--text-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-line-height);
  color: var(--text-primary);
}

h2 {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-line-height);
  color: var(--text-primary);
}

h3 {
  font-size: var(--h3-size);
  font-weight: var(--h3-weight);
  line-height: var(--h3-line-height);
  color: var(--text-primary);
}

h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

a {
  transition: color 0.2s ease;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

.accent {
  color: var(--accent);
}

body.no-scroll {
  overflow: hidden;
}

/* === animations.css === */
/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === STAGGER CHILDREN === */
.stagger > *:nth-child(1) { transition-delay:   0ms; }
.stagger > *:nth-child(2) { transition-delay: 100ms; }
.stagger > *:nth-child(3) { transition-delay: 200ms; }
.stagger > *:nth-child(4) { transition-delay: 300ms; }
.stagger > *:nth-child(5) { transition-delay: 400ms; }
.stagger > *:nth-child(6) { transition-delay: 500ms; }

/* === MARQUEE === */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

/* === FADE IN UP === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === PULSE DOT === */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.menu-overlay__status {
  animation: pulse 2s ease-in-out infinite;
  color: var(--green-highlight);
}

/* ─────────────────────────────────────────────
   HEADING MASK REVEAL (Arpeggio-style)
   JS wraps h2 content in these spans
───────────────────────────────────────────── */
.anim-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}

.anim-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-heading.is-revealed .anim-inner {
  transform: translateY(0);
}

/* Fade-in for section labels / subtitles */
.anim-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   IMAGE CLIP REVEAL
───────────────────────────────────────────── */
.reveal-img {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-img.is-visible {
  clip-path: inset(0% 0 0 0);
}

/* ─────────────────────────────────────────────
   PAGE TRANSITION OVERLAY
───────────────────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99998;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition.is-out {
  opacity: 0;
}

/* ─────────────────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────────────────── */
body.has-cursor * { cursor: none !important; }

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor.is-hover {
  width: 60px; height: 60px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ─────────────────────────────────────────────
   TEXT SPLIT — letter reveal (hero)
───────────────────────────────────────────── */
@keyframes charReveal {
  from { opacity: 0; transform: translateY(55%) rotate(6deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.c {
  display: inline-block;
  vertical-align: bottom;
  opacity: 0;
  animation: charReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.space {
  display: inline-block;
  vertical-align: bottom;
  width: 0.28em;
}

/* ─────────────────────────────────────────────
   LINK HOVER — slide underline
───────────────────────────────────────────── */
.footer__menu a,
.menu-overlay__nav a {
  position: relative;
  display: inline-block;
}

.footer__menu a::after,
.menu-overlay__nav a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer__menu a:hover::after,
.menu-overlay__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ─────────────────────────────────────────────
   PARALLAX — project cards overflow guard
───────────────────────────────────────────── */
.project-card__bg,
.bento__card--img,
.faq__photo,
.intro__img--left,
.intro__img--right {
  overflow: hidden;
}

.project-card__bg img,
.bento__card--img img,
.faq__photo img,
.intro__img--left img,
.intro__img--right img {
  transform: scale(1.05);
  will-change: transform;
}

/* ─────────────────────────────────────────────
   PROJECT CARD — hover reveal
───────────────────────────────────────────── */
.project-card {
  overflow: hidden;
}

.project-card__info {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card__info {
  transform: translateY(-4px);
}

/* ─────────────────────────────────────────────
   BENTO CARD — hover
───────────────────────────────────────────── */
.bento__card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease;
}

.bento__card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
  .anim-inner { transform: none; }
  .anim-fade { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; }
}

/* === components.css === */
/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: var(--btn-size);
  font-weight: var(--btn-weight);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid var(--border-light);
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
}

.btn--outline:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* === DOT === */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-dot);
  flex-shrink: 0;
  display: inline-block;
}

.dot--inline {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

/* === SECTION HEADER === */
.section-header {
  margin-bottom: 60px;
}

.section-header__icon {
  margin-bottom: 16px;
}

.section-header__labels {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-line-height);
  color: var(--text-primary);
  margin-top: 8px;
}

.section-header__sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* === SECTION LABEL === */
.section-label {
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-spacing);
  color: var(--text-muted);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--container-pad);
}

.navbar__social {
  display: flex;
  gap: 16px;
}

.navbar__social a {
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-spacing);
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.navbar__social a:hover {
  opacity: 0.5;
}

.navbar__logo {
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 60px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar__lang {
  display: flex;
  gap: 10px;
}

.navbar__lang a {
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-spacing);
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.navbar__lang a:hover {
  opacity: 1;
}

.navbar__lang a.active {
  opacity: 1;
}

.burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.burger__line {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}

/* === MENU OVERLAY === */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-overlay__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.menu-overlay__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
}

.menu-overlay__top {
  margin-bottom: 16px;
}

.menu-overlay__location {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.menu-overlay__location .accent {
  color: var(--accent);
}

.menu-overlay__tz {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 40px 0;
}

.menu-overlay__nav a {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.2;
}

.menu-overlay__nav a:hover {
  color: var(--text-primary);
}

.menu-overlay__legal {
  display: flex;
  gap: 24px;
}

.menu-overlay__legal a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu-overlay__legal a:hover {
  color: var(--text-primary);
}

.menu-overlay__lang {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.menu-overlay__lang a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.menu-overlay__lang a.active {
  color: var(--text-primary);
}

/* === layout.css === */
/* === CONTAINER === */
.container {
  width: 100%;
  padding: 0 var(--container-pad);
}

/* === SECTION BASE === */
section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-secondary);
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.65) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero__left {
  flex: 1;
  min-width: 0;
}

.hero__right {
  flex-shrink: 0;
  padding-left: 40px;
  align-self: flex-end;
  padding-bottom: 8px;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 78px);
  font-weight: var(--h1-weight);
  line-height: var(--h1-line-height);
  color: var(--text-primary);
}

.hero__sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero__sub p {
  font-size: 16px;
  color: var(--text-subtle);
  max-width: 480px;
}

.hero__tagline {
  font-size: 19px;
  color: var(--text-subtle);
  margin-top: 32px;
  margin-bottom: 14px;
  font-weight: 700;
}

.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__agency-label {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary);
  text-align: right;
  line-height: 1.2;
}

/* Mobile-only summary block below the hero */
.hero-mobile-info {
  display: none;
}

.hero__plus-bar {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  pointer-events: none;
}

.plus {
  color: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  font-weight: 300;
}

.hero__giant-logo {
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(100px, 18vw, 280px);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.08;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  letter-spacing: -0.03em;
}

.hero__giant-logo sup {
  font-size: 0.3em;
  vertical-align: super;
}

/* === INTRO === */
.intro {
  background: var(--bg-primary);
  padding: var(--section-pad) 0;
}

.intro__content {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.intro__heading {
  font-size: clamp(28px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
  text-align: left;
}

.intro__line {
  display: block;
}

.intro__img {
  position: absolute;
  width: clamp(150px, 20vw, 300px);
  border-radius: 8px;
  overflow: hidden;
}

.intro__img--left {
  left: 0;
  top: 10%;
}

.intro__img--right {
  right: 0;
  bottom: 10%;
}

.intro__img img {
  width: 100%;
  height: auto;
  display: block;
}

.intro__video {
  margin-top: 60px;
  border-radius: 16px;
  overflow: hidden;
}

.intro__video video {
  width: 100%;
  display: block;
}

/* === SCROLLING IMAGES === */
.scroll-images {
  overflow: hidden;
  padding: 40px 0;
  background: var(--bg-primary);
}

.scroll-img {
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0 8px;
}

.scroll-img--tall { width: 260px; height: 380px; }
.scroll-img--short { width: 260px; height: 300px; }

/* === PROJECTS === */
.projects {
  padding: 0;
  background: var(--bg-primary);
}

.project-card {
  display: block;
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
}

.project-card__bg {
  position: absolute;
  inset: 0;
}

.project-card__bg img,
.project-card__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card__bg img {
  transform: scale(1.03);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.project-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px var(--container-pad);
  display: flex;
  align-items: flex-end;
  gap: 24px;
  background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.project-card__name {
  font-size: var(--project-title-size);
  font-weight: var(--project-title-weight);
  line-height: 1.1;
  color: var(--text-primary);
}

.project-card__role {
  font-size: 14px;
  color: var(--text-subtle);
  display: block;
  margin-top: 4px;
}

.project-card__line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.project-card__client {
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.project-card__visit {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-card__visit {
  opacity: 1;
}

/* === AI VIDEO SHOWCASE === */
.ai-video {
  background: var(--bg-primary);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

.ai-video__showcase {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}

.ai-video__player {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 480 / 864;
  background: #000;
}

.ai-video__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-video__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-video__client {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.ai-video__info h3 {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
}

.ai-video__info p {
  font-size: 16px;
  color: var(--text-subtle);
  line-height: 1.7;
  max-width: 420px;
}

.ai-video__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.ai-video__tags li {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 4px;
}

/* === CONSULT CTA === */
.consult-cta {
  background: var(--bg-secondary);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.consult-cta__images {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  justify-content: center;
}

.consult-cta__images img {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 300px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.consult-cta__images img:hover {
  filter: brightness(1);
}

.consult-cta__content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.consult-cta__content h2 {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.consult-cta__content p {
  font-size: 16px;
  color: var(--text-subtle);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* === ACHIEVEMENTS === */
.achievements {
  background: var(--bg-secondary);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
}

.stat-card__label {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}

.stat-card__num {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.logo-ticker {
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.ticker-logo {
  height: 32px;
  width: auto;
  margin: 0 10px;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.ticker-logo:hover {
  opacity: 1;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding-top: 220px;
  padding-bottom: 120px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.page-hero__label {
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-spacing);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.page-hero__title {
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-line-height);
  color: var(--text-primary);
  margin-bottom: 32px;
}

.page-hero__sub {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.page-hero__meta {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.page-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-hero__meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.page-hero__meta-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

/* === ABOUT PAGE === */
.about-mission {
  background: var(--bg-primary);
}

.about-mission__text {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 760px;
}

.about-mission__text em {
  font-style: italic;
  color: var(--text-muted);
}

.about-values {
  background: var(--bg-secondary);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
}

.value-card__num {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.team-section {
  background: var(--bg-primary);
}

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

.team-card {
  display: flex;
  flex-direction: column;
}

.team-card__img {
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 20px;
  position: relative;
}

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

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

.team-card__name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.team-card__role {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.team-card__bio {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* === SERVICES PAGE === */
.services-detail {
  background: var(--bg-primary);
}

.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-detail-block:last-child {
  border-bottom: none;
}

.service-detail-block__left {
  position: sticky;
  top: 100px;
}

.service-detail-block__num {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.service-detail-block__left h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.2;
}

.service-detail-block__right p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.service-feature {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
}

.service-feature h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Process section */
.process-section {
  background: var(--bg-secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.process-step {
  padding: 32px;
  border-left: 1px solid var(--border);
}

.process-step:first-child {
  border-left: none;
  padding-left: 0;
}

.process-step__num {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-disabled);
  display: block;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === WORK PAGE === */
.work-page {
  background: var(--bg-primary);
  padding: 0;
}

.work-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.work-page .project-card {
  height: 60vh;
}

/* === CONTACT PAGE === */
.contact-page {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.contact-detail__value {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-detail__value:hover {
  opacity: 0.7;
}

/* Contact form */
.contact-form-wrap {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 48px;
}

.contact-form-wrap h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--text-primary);
  font-size: 16px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--border-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A91' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* === JOURNAL PAGE === */
.journal-page {
  background: var(--bg-primary);
}

.journal-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* === CASE STUDY PAGE === */
.case-hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--bg-secondary);
}

.case-hero__bg {
  position: absolute;
  inset: 0;
}

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

.case-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.75) 100%);
}

.case-hero__content {
  position: relative;
  z-index: 1;
  padding: 60px;
  width: 100%;
}

.case-hero__role {
  font-size: var(--label-size);
  text-transform: var(--label-transform);
  letter-spacing: var(--label-spacing);
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}

.case-hero__title {
  font-size: var(--project-title-size);
  font-weight: var(--project-title-weight);
  line-height: 1.1;
  color: var(--text-primary);
}

.case-overview {
  background: var(--bg-secondary);
}

.case-overview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.case-overview__item {
  padding: 40px;
  border-left: 1px solid var(--border);
}

.case-overview__item:first-child {
  border-left: none;
  padding-left: 0;
}

.case-overview__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.case-overview__value {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

.case-body {
  background: var(--bg-primary);
}

.case-body__inner {
  max-width: 760px;
}

.case-body h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  color: var(--text-primary);
  margin: 60px 0 24px;
}

.case-body h2:first-child {
  margin-top: 0;
}

.case-body p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.case-body__image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 48px 0;
}

.case-body__image img {
  width: 100%;
  display: block;
}

.case-results {
  background: var(--bg-secondary);
}

.case-results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.case-next {
  background: var(--bg-primary);
  text-align: center;
}

.case-next__link {
  display: block;
  text-decoration: none;
  color: var(--text-primary);
  padding: 60px;
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.case-next__link:hover {
  border-color: var(--border-light);
  background: var(--bg-card);
}

.case-next__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.case-next__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
}

/* === LEGAL PAGES === */
.legal-page {
  background: var(--bg-primary);
}

.legal-page__content {
  max-width: 760px;
}

.legal-page h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 48px 0 16px;
}

.legal-page h2:first-child {
  margin-top: 0;
}

.legal-page p,
.legal-page li {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.legal-page ul li {
  list-style: disc;
}

.legal-page ol li {
  list-style: decimal;
}

.legal-page a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Text-based ticker fallback (used instead of SVG logos) */
.ticker-logo-text {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  white-space: nowrap;
  margin: 0 40px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.ticker-logo-text:hover {
  color: var(--text-primary);
}

/* === PLACEHOLDER IMAGE STYLES (until real assets arrive) === */
.hero__video + .hero__overlay,
.scroll-img,
.project-card__bg img,
.intro__img img,
.bento__card--img img,
.journal-card img,
.testimonials__featured img,
.test-card__author img,
.faq__photo img {
  background: var(--bg-card);
}

/* === SERVICES === */
.services {
  background: var(--bg-secondary);
}

.services__header {
  margin-bottom: 60px;
  text-align: center;
}

.services__header h2 {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.services__header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.dot-enlarge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.services__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-block {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px 32px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.service-block:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.service-block__num {
  position: absolute;
  top: -14px;
  right: 16px;
  font-size: 110px;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
}

.service-block__col1 {
  position: relative;
}

.service-block__col1 h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-block__col2 {
  position: relative;
  flex: 1;
}

.service-block__col2 p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-block__col3 {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
}

.service-block__col3 span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 6px 12px;
}

.service-divider {
  display: none;
}

.services__cta {
  display: flex;
  gap: 16px;
  margin-top: 60px;
  justify-content: center;
}

/* === BENEFITS === */
.benefits {
  background: var(--bg-primary);
}

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

.bento__card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.bento__card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 12px 0 8px;
}

.bento__card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 8px 0 6px;
}

.bento__card p {
  font-size: 15px;
  color: var(--text-muted);
}

.bento__card--wide {
  grid-column: span 2;
}

.bento__card--img {
  padding: 0;
}

.bento__card--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  min-height: 250px;
}

.bento__card--accent {
  background: var(--bg-elevated);
}

.bento__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-block;
}

.bento__product-img {
  width: 100%;
  margin-top: 20px;
  border-radius: 8px;
}

.bento__stat-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-top: 8px;
}

.bento__stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.bento__process-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.bento__process-icons img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.bento__circles {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.bento__circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: block;
}

.bento__circle--md {
  width: 36px;
  height: 36px;
}

.bento__circle--lg {
  width: 48px;
  height: 48px;
}

.bento__stars {
  color: var(--accent);
  font-size: 18px;
  margin: 8px 0;
}

.bento__uptime {
  font-size: 13px;
  color: var(--green-highlight);
  font-weight: 500;
}

/* === ENGAGEMENT === */
.engagement {
  background: var(--bg-secondary);
}

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

.engagement__card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.engagement__card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.engagement__card p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.engagement__card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}

.engagement__card li {
  font-size: 15px;
  color: var(--text-subtle);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.engagement__card li::before {
  content: "→ ";
  color: var(--accent);
}

.engagement__card .btn {
  margin-top: 32px;
  align-self: flex-start;
}

.engagement__card--featured {
  border: 1px solid var(--border-light);
  background: var(--bg-elevated);
}

.engagement__badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
  align-self: flex-start;
}

/* === FAQ === */
.faq {
  background: var(--bg-primary);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.faq__photo img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 16px;
}

.faq__photo p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
}

.faq-item summary span:first-child {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 24px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 24px;
}

.faq-answer p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--bg-secondary);
}

.testimonials__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.testimonials__featured img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.testimonials__featured-info {
  margin-top: 16px;
}

.testimonials__featured-info strong {
  font-size: 20px;
  color: var(--text-primary);
  display: block;
}

.testimonials__featured-info span {
  font-size: 14px;
  color: var(--text-muted);
}

.testimonials__ticker-wrap {
  overflow-x: auto;
  scrollbar-width: none;
}

.testimonials__ticker-wrap::-webkit-scrollbar {
  display: none;
}

.testimonials__ticker {
  display: flex;
  gap: 16px;
}

.test-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  min-width: 320px;
  flex-shrink: 0;
}

.test-card__quote {
  font-size: 48px;
  color: var(--text-disabled);
  line-height: 1;
  display: block;
}

.test-card__msg {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.5;
  margin: 12px 0 24px;
}

.test-card__author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.test-card__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.test-card__author strong {
  font-size: 14px;
  color: var(--text-primary);
  display: block;
}

.test-card__author span {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

/* === JOURNAL === */
.journal {
  background: var(--bg-primary);
}

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

.journal-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  aspect-ratio: 3/4;
}

.journal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.journal-card:hover img {
  transform: scale(1.05);
}

.journal-card__fader {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85) 100%);
}

.journal-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  color: var(--text-primary);
}

.journal-card__date {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.journal-card__author {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.journal-card__content h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.journal-card__content p {
  font-size: 14px;
  color: var(--text-subtle);
}

/* === CTA BAND === */
.cta-band {
  background: #000;
  text-align: center;
}

.cta-band h2 {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  color: var(--text-primary);
}

.cta-band p {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 16px;
}

.cta-band__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cta-band__partners {
  margin-top: 80px;
}

.cta-band__partners > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cta-band__logos {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-band__logos img {
  height: 28px;
  opacity: 0.4;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.cta-band__logos img:hover {
  opacity: 0.8;
}

/* === FOOTER === */
.footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(255, 110, 30, 0.18) 0%, rgba(255, 60, 0, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer__wordmark {
  display: block;
  margin: 0 auto 60px;
  height: 40px;
  width: auto;
  mix-blend-mode: screen;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer__tagline {
  margin-top: 24px;
}

.footer__location {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__location p {
  font-size: 16px;
  color: var(--text-muted);
}

.footer__location .accent {
  color: var(--accent);
}

.footer__time {
  text-align: right;
}

.footer__clock {
  font-size: 32px;
  font-weight: 300;
  color: var(--text-primary);
  display: block;
  font-variant-numeric: tabular-nums;
}

.footer__tz {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 4px;
}

.footer__mid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 40px;
  padding: 40px 0;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__menu a {
  font-size: 16px;
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__menu a:hover {
  color: var(--text-primary);
}

.footer__newsletter h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer__newsletter p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 999px 0 0 999px;
  padding: 12px 20px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  font-family: var(--font);
  transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
  border-color: var(--border-light);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form button {
  background: var(--text-primary);
  color: var(--bg-primary);
  border: none;
  border-radius: 0 999px 999px 0;
  padding: 12px 20px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-form button:hover {
  background: var(--accent-hover);
}

.footer__social {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer__social a {
  font-size: 15px;
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer__social a:hover {
  color: var(--text-primary);
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer__social a:hover .arrow {
  transform: translateX(4px);
}

.footer__press {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer__press-badge,
.footer__press-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-subtle);
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.footer__press-badge:hover {
  color: var(--text-primary);
  opacity: 1;
}

.footer__press-logo {
  height: 22px;
  width: auto;
  display: block;
}

.footer__press-icon {
  height: 20px;
  width: 20px;
  display: block;
  flex-shrink: 0;
}

.footer__press-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer__press-text strong {
  font-size: 13px;
  color: inherit;
  font-weight: 600;
}

.footer__press-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer__address {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__address strong {
  color: var(--text-subtle);
  display: block;
  margin-bottom: 2px;
}

.footer__address span {
  display: block;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__lang {
  display: flex;
  gap: 8px;
}

.footer__lang a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.footer__lang a.active {
  color: var(--text-primary);
}

.scroll-top {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.scroll-top:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}


/* ─────────────────────────────────────────────
   PORTFOLIO GRID (work.html)
───────────────────────────────────────────── */
.portfolio-section {
  padding: 0 0 var(--section-pad);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.portfolio-item--wide {
  grid-column: 1 / -1;
}

.portfolio-item {
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-item__img {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.portfolio-item--wide .portfolio-item__img {
  aspect-ratio: 21 / 9;
}

.portfolio-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.03);
}

.portfolio-item:hover .portfolio-item__img img {
  transform: scale(1.08);
}

.portfolio-item__meta {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.portfolio-item__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portfolio-item__num {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  opacity: 0.5;
}

.portfolio-item__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
}

.portfolio-item__body {
  flex: 1;
}

.portfolio-item__title {
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.portfolio-item__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.portfolio-item__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.portfolio-item__client-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.portfolio-item__client {
  font-size: 13px;
  color: var(--text-subtle);
  font-weight: 500;
}

.portfolio-item__visit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.portfolio-item__visit:hover {
  color: var(--text-primary);
}

.portfolio-item__visit:hover .arrow {
  transform: translateX(4px);
}

.portfolio-item__year {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-item--wide {
    grid-column: 1;
  }
  .portfolio-item--wide .portfolio-item__img {
    aspect-ratio: 16 / 9;
  }
  .portfolio-item__meta {
    padding: 20px 20px 24px;
  }
}

/* === BLOG LIST (Stripe-inspired) === */
.blog-list {
  background: var(--bg-primary);
  padding: 80px 0 120px;
}

.blog-list__heading {
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 80px;
}

.blog-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.blog-card__thumb-wrap {
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: var(--bg-secondary);
}

.blog-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__thumb {
  transform: scale(1.04);
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-list__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-list__date {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.blog-list__cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-highlight);
  font-weight: 500;
}

.blog-list__item-title {
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: opacity 0.2s;
}

.blog-card:hover .blog-list__item-title {
  opacity: 0.85;
}

.blog-list__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.blog-list__author {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  opacity: 0.7;
}

/* === ARTICLE HEADER (Stripe-style, no hero image) === */
.article-header {
  padding: 120px 0 64px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
}

.article-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.article-header__breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.article-header__breadcrumb a:hover {
  color: var(--text-primary);
}

.article-header__sep {
  opacity: 0.35;
}

.article-header__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-highlight);
  margin-bottom: 24px;
}

.article-header__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.article-header__breadcrumb {
  justify-content: center;
}

.article-header__title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 48px;
}

.article-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 64px;
  background: var(--bg-card);
}

.article-header__meta-sep {
  opacity: 0.3;
}

/* ARTICLE BODY */
.article-body {
  background: var(--bg-primary);
  padding: clamp(60px, 8vw, 120px) 0;
}

.article-body__inner {
  max-width: 900px;
  margin: 0 auto;
}

.article-lead {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-subtle);
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.article-section {
  margin-bottom: 56px;
}

.article-section h2 {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.article-section p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

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

.article-section p a,
.article-trend-list li a,
.article-lead a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--green-highlight);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.article-section p a:hover,
.article-trend-list li a:hover,
.article-lead a:hover {
  color: var(--green-highlight);
}

.article-stats {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin: 48px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.article-stats__item {
  text-align: center;
}

.article-stats__num {
  display: block;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.article-stats__label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.article-trend-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-trend-list li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-subtle);
  padding-left: 20px;
  position: relative;
}

.article-trend-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-highlight);
  font-size: 14px;
}

.article-quote {
  border-left: 3px solid var(--green-highlight);
  padding: 24px 32px;
  margin: 40px 0;
  background: var(--bg-card);
  border-radius: 0 12px 12px 0;
}

.article-quote p {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary) !important;
  line-height: 1.5;
  margin: 0 !important;
}

.article-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 48px 0;
}

.article-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.article-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 48px 0;
}

.article-img-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.article-img-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  padding-left: 4px;
}

@media (max-width: 768px) {
  .article-img img { height: 260px; }
  .article-img-grid { grid-template-columns: 1fr; }
  .article-img-grid img { height: 240px; }
}

.article-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.article-tag {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 14px;
}

.article-related {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.article-related h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-related__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-related__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.article-related__list a:hover {
  border-color: var(--text-subtle);
  background: var(--bg-card);
}

.article-related__list a:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .blog-list__items { grid-template-columns: 1fr; gap: 24px; }
  .blog-list__heading { margin-bottom: 48px; }
  .article-header { padding: 80px 0 48px; }
  .article-header__breadcrumb { margin-bottom: 32px; }
  .article-header__title { letter-spacing: -0.01em; }
  .article-stats { grid-template-columns: 1fr; gap: 24px; }
  .article-body__inner { max-width: 100%; }
}

/* === responsive.css === */
/* =====================================================
   RESPONSIVE — Mobile-first
   375px → 768px → 1024px → 1440px → 1920px+
   ===================================================== */

/* === BR DESKTOP ONLY: nasconde i <br class="br-d"> su mobile === */
br.br-d { display: none; }
@media (min-width: 768px) {
  br.br-d { display: block; }
}

/* === MOBILE (base, <768px) === */
@media (max-width: 767px) {
  :root {
    --container-pad: 20px;
    --section-pad: 48px;
  }

  .intro {
    padding: 40px 0 48px;
  }

  .intro__video {
    margin-top: 24px;
  }

  .scroll-images {
    padding-bottom: 48px;
  }

  .project-card {
    height: 55vh;
    min-height: 360px;
  }

  /* AI Models Campaigns: titolo sotto la foto su mobile */
  .project-card:has(.project-card__bg--strip) {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .project-card:has(.project-card__bg--strip) .project-card__bg {
    position: relative;
    height: 300px;
    flex-shrink: 0;
  }

  .project-card:has(.project-card__bg--strip) .project-card__overlay {
    display: none;
  }

  .project-card:has(.project-card__bg--strip) .project-card__info {
    position: static;
    background: var(--bg-primary);
    padding: 24px var(--container-pad);
  }

  .project-card:has(.project-card__bg--strip) .project-card__line {
    background: var(--border-light);
  }

  /* Navbar */
  .navbar {
    padding: 16px 0;
  }

  .navbar__social {
    display: none;
  }

  .navbar__logo {
    position: static;
    transform: none;
  }

  /* Page hero */
  .page-hero {
    padding-top: 110px;
    padding-bottom: 48px;
  }

  /* Hero: solo "We design" resta visibile, il resto passa nella sezione compatta sotto */
  .hero {
    min-height: 78vh;
  }

  .hero__content {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero__title-rest {
    display: none;
  }

  .hero__left .hero__tagline,
  .hero__left .hero__sub,
  .hero__left .hero__cta,
  .hero__right {
    display: none;
  }

  /* Sezione compatta sotto la hero (mobile only) */
  .hero-mobile-info {
    display: block;
    padding: 40px 0 8px;
    border-bottom: 1px solid var(--border);
  }

  .hero-mobile-info .hero__tagline {
    margin-top: 0;
  }

  .hero-mobile-info .hero__sub p {
    max-width: 100%;
  }

  .hero__agency-label--mobile {
    margin-top: 32px;
    text-align: left;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* AI Video showcase */
  .ai-video__showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ai-video__info p {
    max-width: 100%;
  }

  /* Consult CTA */
  .consult-cta__images {
    gap: 8px;
    margin-bottom: 36px;
  }

  .consult-cta__images img {
    aspect-ratio: 1/1;
  }

  /* Menu overlay */
  .menu-overlay__content {
    padding: 80px 24px;
  }

  /* Intro */
  .intro__img {
    display: none;
  }

  .intro__content {
    min-height: auto;
  }

  /* Service blocks */
  .services__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Stat grid */
  .stat-grid {
    grid-template-columns: 1fr;
  }

  /* Bento */
  .bento {
    grid-template-columns: 1fr;
  }

  .bento__card--wide {
    grid-column: span 1;
  }

  /* Engagement */
  .engagement__cards {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .faq__photo {
    display: none;
  }

  /* Testimonials */
  .testimonials__layout {
    grid-template-columns: 1fr;
  }

  .testimonials__featured {
    display: none;
  }

  /* Journal */
  .journal__grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-band__btns {
    flex-direction: column;
    align-items: center;
  }

  .cta-band__logos {
    gap: 24px;
  }

  /* Burger touch target */
  .burger {
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
  }

  /* Contact form */
  .contact-form-wrap {
    padding: 24px;
  }

  /* Case study next */
  .case-next__link {
    padding: 32px 20px;
  }

  /* Footer */
  .footer__top {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .footer__time {
    text-align: left;
  }

  .footer__tz {
    justify-content: flex-start;
  }

  .footer__mid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__social {
    gap: 16px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .footer__bottom .scroll-top {
    align-self: flex-end;
  }

  /* Scroll images */
  .scroll-img--tall { width: 180px; height: 260px; }
  .scroll-img--short { width: 180px; height: 200px; }

  /* Inner pages */
  .service-detail-block { grid-template-columns: 1fr; gap: 20px; padding: 48px 0; }
  .service-detail-block__left { position: static; }
  .service-detail-block__left h2 { font-size: clamp(26px, 7vw, 36px); }
  .service-detail-block__right p { font-size: 16px; margin-bottom: 24px; }
  .service-features { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .process-step:first-child { border-top: none; padding-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .work-page__grid { grid-template-columns: 1fr; }
  .about-values__grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .journal-page__grid { grid-template-columns: 1fr; }
  .case-overview__grid { grid-template-columns: 1fr 1fr; }
  .case-overview__item { border-left: none; border-top: 1px solid var(--border); padding: 24px 0; }
  .case-overview__item:first-child { border-top: none; padding-top: 0; }
  .case-hero__content { padding: 32px 20px; }
  .case-results__grid { grid-template-columns: 1fr; }
}

/* === TABLET (768px–1023px) === */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --container-pad: 40px;
  }

  /* Navbar social — show fewer items */
  .navbar__social a:nth-child(n+4) {
    display: none;
  }

  /* Hero */
  .hero__content {
    padding-top: 110px;
    padding-bottom: 80px;
  }

  /* Bento */
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__card--wide {
    grid-column: span 2;
  }

  /* Engagement */
  .engagement__cards {
    grid-template-columns: 1fr 1fr;
  }

  /* Journal */
  .journal__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonials__layout {
    grid-template-columns: 1fr 1.5fr;
  }

  /* Service block */
  .services__list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__mid {
    grid-template-columns: 1fr 1fr;
  }

  /* AI Video — tablet: stack verticale come mobile */
  .ai-video__showcase {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Inner pages */
  .service-detail-block { gap: 48px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .about-values__grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .work-page__grid { grid-template-columns: 1fr; }
  .case-overview__grid { grid-template-columns: repeat(2, 1fr); }
}

/* === DESKTOP (1024px+) === */
@media (min-width: 1024px) {
  :root {
    --container-pad: 40px;
  }

  /* Ensure stat grid 3 cols */
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Make stat-card--sm slightly smaller */
  .stat-card--sm .stat-card__num {
    font-size: clamp(32px, 4vw, 56px);
  }
}

/* === LARGE DESKTOP (1440px+) === */
@media (min-width: 1440px) {
  :root {
    --container-pad: 60px;
  }

  .bento {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === EXTRA LARGE (1920px+) === */
@media (min-width: 1920px) {
  :root {
    --container-pad: 80px;
  }
}
