@font-face {
  font-family: "Syne Tactile";
  src: url("assets/fonts/SyneTactile-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue: #0058D4;
  --neon: #DCF300;
  --black: #050505;
  --ink: #101010;
  --paper: #F2F2F2;
  --soft: #D9D9D9;
  --muted: #747474;
  --white: #FFFFFF;
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 999px;
  --shadow: 0 28px 90px rgba(0,0,0,.12);
  --border: 1px solid rgba(5,5,5,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Syne", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #000000;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.skip-link {
  position: fixed; left: 20px; top: 20px; transform: translateY(-140%);
  background: var(--black); color: white; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 100;
}
.skip-link:focus { transform: translateY(0); }
.page-shell {
  width: min(1460px, calc(100% - 34px)); margin: 34px auto; background: var(--paper);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.site-header {
  min-height: 76px; padding: 18px 22px; display: grid; grid-template-columns: 190px 1fr auto;
  align-items: center; gap: 18px; position: sticky; top: 0; z-index: 50;
  background: rgba(242,242,242,.9); backdrop-filter: blur(20px); border-bottom: var(--border);
}
.brand { width: 168px; display: inline-flex; align-items: center; }
.brand img { width: 100%; }
.nav {
  justify-self: center; display: flex; align-items: center; gap: 4px; padding: 4px;
  background: rgba(255,255,255,.72); border: var(--border); border-radius: var(--radius-sm);
}
.nav a { padding: 10px 14px; font-size: 12px; line-height: 1; border-radius: var(--radius-sm); transition: background .25s ease, color .25s ease; }
.nav a:hover { background: var(--black); color: var(--white); }
.header-cta {
  justify-self: end; font-size: 12px; font-weight: 700; background: var(--neon); color: var(--black);
  padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(0,0,0,.2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.menu-toggle { display: none; }
.section-block { padding: 28px; position: relative; }
.hero { padding-top: 42px; }
.hero-title { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 0; color: var(--black); font-size: clamp(54px, 10vw, 148px); line-height: .86; letter-spacing: -.075em; font-weight: 500;
  max-width: 1000px;
}
h1 em { font-style: normal; color: var(--neon); letter-spacing: -.03em; font-family: "Syne Tactile", "Syne", system-ui, sans-serif; font-weight: 400; display: inline-block; transform: translateY(-0.02em); }
.hero-side { max-width: 480px; margin: 0; color: var(--black); font-size: clamp(24px, 2.4vw, 42px); line-height: .94; letter-spacing: -.045em; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .8fr .95fr; grid-template-rows: 280px 190px; gap: 14px; }
.media-card, .service-card, .cta-card, .mini-card, .method-panel, .contact-card, .services-grid article {
  border-radius: var(--radius-md); overflow: hidden; position: relative;
}
.media-card { background: var(--soft); }
.media-card img, .project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.8,.2,1); }
.media-card:hover img, .project-card:hover .project-media img { transform: scale(1.04); }
.hero-media { grid-row: 1 / span 2; min-height: 484px; }
.hero-media::after, .project-media::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.25)); pointer-events: none;
}
.fixed-grafismo { position: absolute; z-index: 3; pointer-events: none; }
.fixed-grafismo img { width: min(34vw, 320px); height: auto; }
.fixed-grafismo--lime { left: 0; top: 0; }
.dark-card { background: #141414; color: var(--white); padding: 24px; display: flex; flex-direction: column; justify-content: end; }
.service-card { grid-column: 2; grid-row: 1 / span 2; }
.cta-card { grid-column: 3; grid-row: 1; }
.blue-card { grid-column: 3; grid-row: 2; }
.service-card a {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.22); color: var(--neon); font-size: 16px; line-height: 1;
}
.service-card a span { transition: transform .2s ease; }
.service-card a:hover span { transform: translate(4px, 4px); }
.pill { align-self: flex-start; display: inline-flex; margin: 0 0 18px; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 12px; line-height: 1; border: 1px solid currentColor; }
.pill--line { color: var(--black); }
.neon-card { background: var(--neon); color: var(--black); padding: 26px; }
.cta-card { display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; }
.cta-card h2, .contact-card h2 {
  margin: 0; font-size: clamp(22px, 3vw, 50px); line-height: .9; letter-spacing: -.065em; font-weight: 500;
}
.cta-card h2 { font-size: clamp(16px, 2.0vw, 34px); line-height: .94; max-width: 10.2ch; }

.cta-card a { margin-top: auto; }
.cta-card a, .contact-links a {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--black); color: var(--white); font-size: 13px; font-weight: 700;
}
.mini-card { padding: 24px; background: var(--white); display: flex; align-items: end; }
.mini-copy { max-width: 260px; font-size: clamp(22px, 1.8vw, 32px); line-height: .98; letter-spacing: -.045em; }
.blue-card { background: var(--blue); color: var(--white); }
.manifesto { display: grid; grid-template-columns: 1.16fr .84fr; gap: 22px; align-items: end; padding-top: 80px; }
.manifesto-copy h2, .section-heading h2, .method-panel h2, .statement-panel h2 {
  margin: 0; font-size: clamp(42px, 7vw, 118px); line-height: .87; letter-spacing: -.07em; font-weight: 500;
}
.manifesto-text { max-width: 540px; margin-left: auto; font-size: clamp(18px, 1.75vw, 28px); line-height: 1.03; letter-spacing: -.035em; }
.manifesto-text p:last-child { margin-bottom: 0; }
.section-heading { display: grid; grid-template-columns: 270px 1fr; gap: 22px; align-items: end; margin-bottom: 22px; }
.section-heading h2 .line { display: block; white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.project-card {
  min-height: 520px; background: var(--black); color: var(--white); border-radius: var(--radius-md); overflow: hidden; position: relative;
}
.project-card--wide { grid-column: span 2; min-height: 620px; }
.project-card.reverse { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--blue); }
.project-card.reverse .project-media { position: relative; min-height: 620px; }
.project-media { position: absolute; inset: 0; overflow: hidden; }
.project-card.reverse .project-media { position: relative; inset: auto; }
.project-info {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 4; display: flex; align-items: end; justify-content: space-between; gap: 20px;
}
.project-info--aside {
  position: relative; inset: auto; padding: 34px; display: flex; flex-direction: column; justify-content: end; align-items: start; color: var(--white);
}
.project-info span { padding: 8px 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,.92); color: var(--black); font-size: 12px; white-space: nowrap; }
.project-info h3 { margin: 0; font-size: clamp(38px, 5.5vw, 92px); line-height: .86; letter-spacing: -.075em; font-weight: 500; }
.project-info p { max-width: 360px; margin: 0; font-size: 16px; line-height: 1.05; }
.project-grafismo { position: absolute; z-index: 3; pointer-events: none; opacity: 1; }
.project-grafismo--mood { width: min(30vw, 420px); left: 0; top: 16px; }
.project-grafismo--edge { width: min(28vw, 290px); left: 0; top: 16px; }
.project-grafismo--white-corner { width: min(30vw, 335px); right: 18px; top: 14px; }
.project-grafismo--garage { width: min(30vw, 320px); right: 0; top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.services-grid article {
  min-height: 320px; padding: 22px; background: var(--white); display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--radius-md);
}
.services-grid article:nth-child(2) { background: var(--black); color: var(--white); }
.services-grid article:nth-child(3) { background: var(--blue); color: var(--white); }
.services-grid article:nth-child(4) { background: var(--neon); color: var(--black); }
.services-grid span { font-size: 12px; color: var(--muted); }
.services-grid article:nth-child(2) span, .services-grid article:nth-child(3) span { color: rgba(255,255,255,.6); }
.services-grid article:nth-child(4) span { color: rgba(0,0,0,.55); }
.services-grid h3 { margin-bottom: 12px; font-size: clamp(28px, 3vw, 48px); line-height: .9; letter-spacing: -.055em; font-weight: 500; }
.services-grid article:nth-child(4) h3 { font-size: clamp(24px, 2.35vw, 40px); }
.services-grid p { margin: 0; font-size: 14px; line-height: 1.15; }
.method-panel {
  min-height: 500px; padding: 34px; background: var(--black); color: var(--white); display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: end;
}
.method-panel .section-number { color: var(--neon); margin-bottom: 12px; display: block; }
.method-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; max-width: 740px; }
.word { font-size: clamp(52px, 7vw, 104px); line-height: .88; letter-spacing: -.08em; }
.arrow { font-size: clamp(46px, 6vw, 90px); line-height: 1; }
.method-steps { display: grid; gap: 12px; }
.method-steps p { margin: 0; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: clamp(17px, 1.8vw, 26px); line-height: 1.02; letter-spacing: -.035em; }
.method-steps strong { color: var(--neon); font-weight: 500; }
.statement-panel { padding: 8px 0 22px; }
.contact-card { min-height: 520px; display: flex; flex-direction: column; justify-content: center; gap: 42px; overflow: hidden; }
.contact-card h2 { max-width: 980px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }
.site-footer {
  padding: 22px 28px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--muted); font-size: 12px; border-top: var(--border);
}
.site-footer img { width: 168px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--black); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }
@media (max-width: 1080px) {
  .page-shell { width: min(100% - 20px, 980px); margin: 10px auto; border-radius: 24px; }
  .site-header { grid-template-columns: 140px 1fr auto; }
  .manifesto, .method-panel, .project-card.reverse { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero-media { grid-column: span 2; grid-row: auto; min-height: 520px; }
  .service-card { grid-column: 1; grid-row: auto; min-height: 300px; }
  .cta-card { grid-column: 2; grid-row: auto; min-height: 300px; }
  .blue-card { grid-column: 1 / span 2; grid-row: auto; min-height: 180px; }
  .section-heading { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card, .project-card--wide { grid-column: span 2; min-height: 520px; }
  .project-card.reverse .project-media { min-height: 440px; }
  .project-info--aside { min-height: 320px; }
}
@media (max-width: 760px) {
  :root { --radius-lg: 22px; --radius-md: 18px; }
  .page-shell { width: calc(100% - 12px); margin: 6px; }
  .site-header { grid-template-columns: 1fr auto; padding: 14px; min-height: 64px; }
  .brand { width: 150px; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex; width: 42px; height: 42px; border: 1px solid rgba(0,0,0,.2); border-radius: 50%; background: var(--white);
    align-items: center; justify-content: center; flex-direction: column; gap: 5px; position: relative; z-index: 60;
  }
  .menu-toggle span { width: 18px; height: 2px; background: var(--black); display: block; }
  .nav {
    position: fixed; right: 18px; top: 74px; flex-direction: column; align-items: stretch; padding: 8px; border-radius: 18px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .section-block { padding: 16px; }
  .hero { padding-top: 28px; }
  .hero-title { overflow: hidden; }
  h1 { font-size: clamp(42px, 13.2vw, 64px); line-height: .92; letter-spacing: -.065em; max-width: 100%; }
  h1 em { transform: translateY(-0.01em); }
  .hero-side { font-size: 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-media, .service-card, .cta-card, .blue-card { grid-column: auto; grid-row: auto; }
  .hero-media { min-height: 430px; }
  .service-card, .cta-card, .blue-card { min-height: 220px; }
  .cta-card h2 { font-size: 30px; max-width: 10.5ch; }
  .mini-copy { font-size: 26px; }
  .manifesto { padding-top: 50px; grid-template-columns: 1fr; }
  .manifesto-copy h2, .statement-panel h2 { font-size: clamp(42px, 12vw, 76px); }
  .section-heading h2 { font-size: clamp(32px, 9.3vw, 58px); line-height: .92; }
  .manifesto-text { font-size: 19px; margin-left: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card--wide { grid-column: auto; min-height: 480px; }
  .project-info { align-items: start; flex-direction: column; }
  .project-info h3 { font-size: 50px; }
  .project-info p { font-size: 14px; }
  .project-card.reverse .project-media { min-height: 320px; }
  .fixed-grafismo img { width: min(82vw, 340px); }
  .fixed-grafismo--lime { left: -18px; top: 0; }
  .project-grafismo--mood { width: min(76vw, 330px); left: -12px; top: 0; }
  .project-grafismo--edge { width: min(72vw, 320px); left: -8px; top: 0; }
  .project-grafismo--white-corner { width: min(72vw, 320px); }
  .project-grafismo--garage { width: min(64vw, 280px); right: -18px; top: 0; }
  .project-grafismo--ocaso-blue { width: min(70vw, 300px); right: -46px; bottom: -30px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid article { min-height: 245px; }
  .method-panel { min-height: auto; padding: 22px; }
    .word { font-size: 56px; }
  .arrow { font-size: 52px; }
  .contact-card { min-height: 500px; padding: 22px; }
  .contact-links { flex-direction: column; align-items: stretch; }
  .contact-links a { width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.project-grafismo--ocaso-blue { width: min(24vw, 260px); right: -18px; bottom: -16px; z-index: 3; }


/* v11 updates */
.cta-card { justify-content: center; }
.cta-card h2 { font-size: clamp(16px, 2.0vw, 34px); line-height: .96; max-width: 8.6ch; }
.cta-card.neon-card { gap: 18px; }
.mini-card--media { padding: 0; overflow: hidden; }
.mini-video { display:block; width:100%; height:100%; object-fit:cover; }
.contact-links a { gap: 12px; min-width: 240px; justify-content: flex-start; padding: 14px 22px; font-size: 16px; line-height: 1; font-weight: 700; }
.link-icon { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; font-size:24px; line-height:1; flex: 0 0 24px; }
@media (max-width: 760px) {
  .cta-card h2 { font-size: 25px; max-width: 9.2ch; }
}

.link-icon-img { width: 24px; height: 24px; object-fit: contain; flex: 0 0 24px; display:block; }

/* v13 refinements */
.cta-card h2 { max-width: none; }
.project-info--aside p { max-width: none; white-space: nowrap; font-size: clamp(13px, 1.1vw, 16px); }
@media (max-width: 760px) {
  .project-info--aside p { white-space: normal; max-width: 100%; }
  .cta-card h2 { max-width: none; }
}

/* v16 — mobile-only corrections */
@media (max-width: 760px) {
  /* Contact buttons: restore readable proportions on mobile */
  .contact-links {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .contact-links a {
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    max-height: 52px !important;
    padding: 0 18px !important;
    gap: 12px !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  .contact-links a span {
    font-size: 16px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .contact-links .link-icon-img,
  .contact-links .link-icon {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex: 0 0 22px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Blue method/project card: make the title fit on mobile */
  .project-card.reverse .project-info--aside {
    padding: 26px 22px 28px !important;
    overflow: hidden !important;
  }

  .project-card.reverse .project-info--aside h3 {
    font-size: clamp(34px, 10.2vw, 43px) !important;
    line-height: .9 !important;
    letter-spacing: -.065em !important;
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .project-card.reverse .project-info--aside p {
    white-space: normal !important;
    max-width: 100% !important;
    font-size: 12px !important;
    line-height: 1.12 !important;
  }

  /* GIF card: show the full animation centered on mobile */
  .mini-card--media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--blue) !important;
    overflow: hidden !important;
  }

  .mini-card--media .mini-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}
